]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_updateall
Also for stats report which repo and which job number use our setup
[neurodebian.git] / tools / nd_updateall
index b2e3edbef2ded8698435710a04eea4a86bddbf0c..150d97c6f68a40deb4551b58b5f4e4fcc787770d 100755 (executable)
@@ -1,10 +1,16 @@
 #!/bin/bash
 
-. /home/neurodebian/neurodebian.git/tools/nd_cmdsettings.sh
+. /etc/neurodebian/cmdsettings.sh
 
-for d in $alldists; do
-  dfamily=${d%%-*}
-  drelease=${d##*-}
-
-  nd_updatedist $dfamily $drelease
-done
+if [ -z "$SERIAL" ]; then
+    parallel nd_updatedist -- $alldists
+else
+    # Original serial version, we might want to switch between the two
+    # upon -j
+    for d in $alldists; do
+      dfamily=${d%%-*}
+      drelease=${d##*-}
+    
+      nd_updatedist $dfamily $drelease
+    done
+fi