[dak/master] Fix breakage on missing w-b dump for an arch
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db
index 57afc92..42e2c6a 100755
--- a/scripts/nfu/get-w-b-db
+++ b/scripts/nfu/get-w-b-db
@@ -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
--
1.7.10.4
Reply to: