]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_build4allnd
support native cows (e.g. debian-lenny) for upgradeall
[neurodebian.git] / tools / nd_build4allnd
index 9cea1b88fb1df7708c8d8c4bcdefcf413c63cefc..30a033bec2cc1f16175731fa8d1e0b54da86a462 100755 (executable)
@@ -15,11 +15,12 @@ fi
 
 
 
-. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
+. /etc/neurodebian/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 $1 | tail -n1 | sed -e 's/^.* //g')
+  nd_build $dfamily $drelease $bpdsc
 done