X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fnfu%2Fget-w-b-db;h=eabbdc516ec0256734e30b7356629c779a512937;hb=2a10967af5974e4fa513d029fb995e122d90501a;hp=ae8fb1b990a64b22d527c8c60e183dce0d562057;hpb=9763df25fb9c0906e371794cb3ac7763a316828d;p=dak.git diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db index ae8fb1b9..eabbdc51 100755 --- a/scripts/nfu/get-w-b-db +++ b/scripts/nfu/get-w-b-db @@ -31,10 +31,8 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars # For debugging, you can override the path using # the WB_DB_DIR enviroment variable -if [ -z "$WB_DB_DIR" ]; then - WB_DB_DIR=${scriptdir}/nfu -fi +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 https://buildd.debian.org/stats/$arch-all.txt -O ${WB_DB_DIR}/${arch}-all.txt || echo "No w-b dump for ${arch}" done