From 37b4551dc7cb394a76be1534a3c4de90bdb569c3 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Fri, 8 Mar 2019 15:24:44 +0000 Subject: For-group script can allow to arguments to Make call Until now the `./for-group' script would only add one argument to the Make call, but in some situations, you need a second argument is well. With this option, any possible fourth argument to `./for-group' is passed to Make. --- .file-metadata | Bin 3956 -> 3956 bytes for-group | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.file-metadata b/.file-metadata index 00ab153..e1db277 100644 Binary files a/.file-metadata and b/.file-metadata differ diff --git a/for-group b/for-group index 4ada15f..7aaf206 100755 --- a/for-group +++ b/for-group @@ -66,7 +66,7 @@ testfile=".reproducible-pipeline-group-test" if sg "$1" "echo test > $testfile"; then rm $testfile if [ "x$2" = xconfigure ]; then script="./configure" - elif [ "x$2" = xmake ]; then script=".local/bin/make $3" + elif [ "x$2" = xmake ]; then script=".local/bin/make $3 $4" else echo "$0: a third argument is necessary." echo "It specifies the action: either 'configure' or 'make'" -- cgit v1.2.1