From 17e858592008dd0fd3fdbe6d510210b4e9c1d613 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 5 Sep 2021 12:59:49 +0200 Subject: [PATCH] Windows/build-dependencies: New flag --no-clean --- Windows/build-dependencies | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Windows/build-dependencies b/Windows/build-dependencies index 236b1d8bdc..f2e9692167 100755 --- 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=};; + --no-clean) + noclean=yes;; *) printf "Usage: $0 --arch= --sandbox= [--tarballs=]\n"; exit 1; @@ -62,7 +64,7 @@ fi 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) -- 2.30.2