MakeReleaseSet - Made clean code before building
authorJohn Hodge <[email protected]>
Wed, 12 Oct 2011 04:38:50 +0000 (12:38 +0800)
committerJohn Hodge <[email protected]>
Wed, 12 Oct 2011 04:38:50 +0000 (12:38 +0800)
MakeReleaseSet

index 5d5bbd7..117af81 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
 rm -rf Dist
-if [ $# -gt 1 ]; then
+if [ $# -ge 1 ]; then
        for arch in $*; do
                echo $arch
-               BUILD_DIST=y ARCH=$arch make install
+               BUILD_DIST=y ARCH=$arch make clean install
        done
 else
-       BUILD_DIST=y make install
+       BUILD_DIST=y make clean install
 fi
 tar -zcf Acess2_latest_bin.tar.gz Dist/*
 mdeltree b:/Acess2

UCC git Repository :: git.ucc.asn.au