]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_build4allnd
Also for stats report which repo and which job number use our setup
[neurodebian.git] / tools / nd_build4allnd
index 9cea1b88fb1df7708c8d8c4bcdefcf413c63cefc..466271d778eeb7023074fb9f01c54ac9ddce71a1 100755 (executable)
@@ -13,13 +13,14 @@ EOT
 exit 1
 fi
 
+dscfile=$1; shift
 
+. /etc/neurodebian/cmdsettings.sh
 
-. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
-
-for d in $alldists; do
+for d in $allnddists; do
   dfamily=${d%%-*}
   drelease=${d##*-}
 
-  nd_build $dfamily $drelease $1
+  bpdsc=$(nd_backport $drelease $dscfile | tail -n1 | sed -e 's/^.* //g')
+  nd_build $dfamily $drelease $bpdsc "$@" || :
 done