]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_build4allnd
1 random testimonial into fronpage, and VM-related to VM page
[neurodebian.git] / tools / nd_build4allnd
index ea4284a60d3a2d06c03410e62ab7dbc28b674395..77e7ce908541a86cf58264748a6dd989af1fff78 100755 (executable)
@@ -13,14 +13,14 @@ EOT
 exit 1
 fi
 
-
+dscfile=$1; shift
 
 . /etc/neurodebian/cmdsettings.sh
 
-for d in $alldists; do
+for d in $allnddists; do
   dfamily=${d%%-*}
   drelease=${d##*-}
 
-  bpdsc=$(nd_backport $drelease $1 | tail -n1)
-  nd_build $dfamily $drelease $bpdsc
+  bpdsc=$(nd_backport $drelease $dscfile | tail -n1 | sed -e 's/^.* //g')
+  nd_build $dfamily $drelease $bpdsc "$@"
 done