toolchain mods, glibc and gcc still need some checking
[hdw-linux/hdw-linux.git] / scripts / Build-Distro
index 79f2cd3..70d501e 100755 (executable)
@@ -114,7 +114,7 @@ for stage in $stages; do
                                echo_g "done, `date | awk '{ print $4 }'`"
                                # make binary tar package
                                if [ "$hdw_make_package" = "1" -a \
-                                    "$hdw_status" -ge "2" ] ; then
+                                    "$stage" -ge "2" ] ; then
                                        echo -n "creating binary package ..."
                                        if [ -d binaries/{$hdw_arch}-${hdw_arch_opt}/$package ] ; then
                                                echo -n " (deleting old first)"