]> git.decadent.org.uk Git - dak.git/commitdiff
Fix breakage on missing w-b dump for an arch
authorJoerg Jaspert <joerg@debian.org>
Sun, 3 Aug 2014 11:53:43 +0000 (13:53 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 3 Aug 2014 11:53:43 +0000 (13:53 +0200)
The w-b admins may take some time until they have a new architecture all
set up. And until they do generate the buildd.d.o/stats/$arch-all.txt we shouldn't
break on it missing.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/nfu/get-w-b-db

index 57afc92cfbe0de7da171c79aeb3c6a47ac3851a8..42e2c6ad48ba99af6b79a19534b177b2bb36299c 100755 (executable)
@@ -34,5 +34,5 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
 WB_DB_DIR=${WB_DB_DIR:-${scriptdir}/nfu}
 
 for arch in $(dak admin s-a list-arch unstable); do
-    wget -q http://buildd.debian.org/stats/$arch-all.txt -O ${WB_DB_DIR}/${arch}-all.txt
+    wget -q http://buildd.debian.org/stats/$arch-all.txt -O ${WB_DB_DIR}/${arch}-all.txt || echo "No w-b dump for ${arch}"
 done