]> git.donarmstrong.com Git - neurodebian.git/commitdiff
fixing passing of optional cmdline args in nd_ tools: must use "$@" instead of plain $*
authorYaroslav Halchenko <debian@onerussian.com>
Tue, 14 Dec 2010 22:59:45 +0000 (17:59 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Tue, 14 Dec 2010 22:59:45 +0000 (17:59 -0500)
tools/nd_build
tools/nd_build4debianmain
tools/nd_login

index ca50a6c1270361978e60c483b22295a37fd80c81..72c7d0092fc09deb477a11a558c1fbc88fd8ddaf 100755 (executable)
@@ -94,5 +94,5 @@ for a in $arch; do
              --buildresult . \
              --logfile ${dscfile%.dsc}_${a}.build \
              $options \
-             $*
+             "$@"
 done
index d9e10914c7e8a346a76625fb396b51ed55dfa963..e722153442f17c85d771a4f168c4c4fd958d4162 100755 (executable)
@@ -20,4 +20,4 @@ dscfile=$1
 shift;
 
 nd_updatedist debian sid amd64
-nd_build debian sid amd64 $dscfile $*
+nd_build debian sid amd64 $dscfile "$@"
index 2237e5c6dbee7e7ececd2e8196bb3fe58e29d8d9..48041020377a69efca509652efa992f1ae4b3344 100755 (executable)
@@ -50,4 +50,4 @@ fi
 cowbuilder --login \
              --basepath ${cowbuilderroot}/cow/${family}-${dist}-${arch}.cow \
              $options \
-             $*
+             "$@"