Meta/Dothem: make --memtrash configurable
Junio C Hamano committed
Oct 18, 2017 at 11:56 UTC
d32db97b023fef9fb126b05dd34d6962de83822c
1 file changed
+4
-2
Dothem
+4
-2
@@ -17,7 +17,7 @@ inst_prefix=$(
17
)
18
19
force= with_dash= test_long= M= install= nodoc= notest= bootstrap= branches= jobs=
20
-scratch= noprove=
20
+scratch= noprove= memtrash=--memtrash
21
while case "$1" in
22
--pedantic | --locale=* | --loose) M="$M $1" ;;
23
--force) force=$1 ;;
@@ -26,6 +26,8 @@ while case "$1" in
26
--noinstall) install=noinstall ;;
27
--nodoc) nodoc=y ;;
28
--notest) notest=y ;;
29
+ --nomemtrash) memtrash= ;;
30
+ --memtrash) memtrash=--memtrash ;;
31
--test=*) test="$1" ;;
32
--scratch) scratch=y ;;
33
--bootstrap) bootstrap=y ;;
@@ -196,7 +198,7 @@ do
198
199
save=$(git rev-parse HEAD) &&
200
199
- Meta/Make $M $noprove ${test+"$test"} $jobs $test_long --memtrash \
201
+ Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \
202
-- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest &&
203
204
{