CHANGELOG 2004-07-26
[hdw-linux/hdw-linux.git] / scripts / Build-Distro
index e1f1dd1..94b12eb 100755 (executable)
@@ -116,6 +116,10 @@ for stage in $stages; do
                                if [ "$hdw_make_package" = "1" -a \
                                     "$hdw_status" -ge "2" ] ; then
                                        echo -n "creating binary package ..."
+                                       if [ -d binaries/*/$package ] ; then
+                                               echo -n " (deleting old first)"
+                                               rm -rf binaries/*/$package
+                                       fi
                                        ./scripts/Create-Binary \
                                                -package $package-$pr \
                                                -tar-name $package \