From: Stephen Morris Date: Fri, 26 Jan 2018 19:41:47 +0000 (+0000) Subject: [rt46602] Pass noclean option to Makefile via exported variable X-Git-Tag: v9.13.0~158^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59d88ee192669689374e880c52227b335e622e15;p=thirdparty%2Fbind9.git [rt46602] Pass noclean option to Makefile via exported variable --- diff --git a/bin/tests/system/runall.sh b/bin/tests/system/runall.sh index 9c01452deb6..95ebd292202 100644 --- a/bin/tests/system/runall.sh +++ b/bin/tests/system/runall.sh @@ -24,7 +24,7 @@ usage="Usage: ./runall.sh [-n] [numprocesses]" while getopts "n" flag; do case "$flag" in - n) CLEANFLAG="NOCLEAN=-n" ;; + n) export NOCLEAN="-n" ;; esac done shift `expr $OPTIND - 1` @@ -44,6 +44,6 @@ else exit 1 fi -$CLEANFLAG make -j $numproc check +make -j $numproc check exit $?