]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_adddistall
Also for stats report which repo and which job number use our setup
[neurodebian.git] / tools / nd_adddistall
index f01fa88c3f226495a3145e22e2c12e19e25aeb1a..bff3cd9fec7f85fd6975e489f28cbeabb01987ad 100755 (executable)
@@ -4,7 +4,7 @@
 
 . /etc/neurodebian/cmdsettings.sh
 
-[ -z "$@" ] && dists="$allnddists" || dists="$@"
+[ -z "$@" ] && dists="$alldists" || dists="$@"
 
 echo "Initiating creation of chroots for $dists"
 
@@ -16,7 +16,7 @@ for dist in $dists; do
         if [ -e "$cowbuilderroot/cow/$dist-amd64.cow" ]; then
                 status=exists
         else
-                $CMD sudo $PWD/nd_adddist ${dist%%-*} ${dist#*-} && status=ok || status=failed
+                $CMD sudo nd_adddist ${dist%%-*} ${dist#*-} && status=ok || status=failed
         fi
         MSGS+=" $(printf '%-30s\\t%s' $dist $status)\n"
 done