]> git.donarmstrong.com Git - neurodebian.git/commitdiff
pass additional cmdline options into nd_build from nd_build4allnd
authorNeuroDebian <neurodebian@expert.pymvpa.org>
Wed, 6 Oct 2010 23:13:09 +0000 (19:13 -0400)
committerNeuroDebian <neurodebian@expert.pymvpa.org>
Wed, 6 Oct 2010 23:13:09 +0000 (19:13 -0400)
tools/nd_build4allnd

index 30a033bec2cc1f16175731fa8d1e0b54da86a462..77e7ce908541a86cf58264748a6dd989af1fff78 100755 (executable)
@@ -13,7 +13,7 @@ EOT
 exit 1
 fi
 
-
+dscfile=$1; shift
 
 . /etc/neurodebian/cmdsettings.sh
 
@@ -21,6 +21,6 @@ for d in $allnddists; do
   dfamily=${d%%-*}
   drelease=${d##*-}
 
-  bpdsc=$(nd_backport $drelease $1 | tail -n1 | sed -e 's/^.* //g')
-  nd_build $dfamily $drelease $bpdsc
+  bpdsc=$(nd_backport $drelease $dscfile | tail -n1 | sed -e 's/^.* //g')
+  nd_build $dfamily $drelease $bpdsc "$@"
 done