projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Windows/build-dependencies: New flag --no-clean
[pspp]
/
Windows
/
build-dependencies
diff --git
a/Windows/build-dependencies
b/Windows/build-dependencies
index 236b1d8bdcfb696312236ebd7c2ea393f6cfb528..f2e9692167b3acdf55470bd2ebf0e74804346695 100755
(executable)
--- a/
Windows/build-dependencies
+++ b/
Windows/build-dependencies
@@
-41,6
+41,8
@@
while test $# -gt 0; do
SANDBOX=${1##--sandbox=};;
--tarballs=*)
SRC_TARBALL_DIR=${1##--tarballs=};;
SANDBOX=${1##--sandbox=};;
--tarballs=*)
SRC_TARBALL_DIR=${1##--tarballs=};;
+ --no-clean)
+ noclean=yes;;
*)
printf "Usage: $0 --arch=<arch> --sandbox=<dir> [--tarballs=<dir>]\n";
exit 1;
*)
printf "Usage: $0 --arch=<arch> --sandbox=<dir> [--tarballs=<dir>]\n";
exit 1;
@@
-62,7
+64,7
@@
fi
SRC_TARBALL_DIR=`eval echo $SRC_TARBALL_DIR`
SRC_TARBALL_DIR=`eval echo $SRC_TARBALL_DIR`
-rm -rIf $SANDBOX
+
test "x$noclean" = "xyes" ||
rm -rIf $SANDBOX
default_build_procs=$(expr $(cat /proc/cpuinfo | grep -c '^processor') + 1)
default_build_procs=$(expr $(cat /proc/cpuinfo | grep -c '^processor') + 1)