X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fnfu%2Fget-w-b-db;h=d525fd23335fe33834c64bdac89dd55daa42e96e;hb=0872b2e0b78670c91fd2bf0bda52e5761e079820;hp=48d2c5f8ec499fce7d7bb3da27e190caa65f3c0a;hpb=8e475b502ed8cc0696984ac7cb7aad91a0cfca27;p=dak.git diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db index 48d2c5f8..d525fd23 100755 --- a/scripts/nfu/get-w-b-db +++ b/scripts/nfu/get-w-b-db @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # list of architectures taken from # http://buildd.debian.org/stats/ @@ -7,12 +9,12 @@ # the WB_DB_DIR enviroment variable if [ -z "$WB_DB_DIR" ] then - WB_DB_DIR=/org/ftp.debian.org/scripts/nfu + WB_DB_DIR=/srv/ftp-master.debian.org/scripts/nfu fi cd $WB_DB_DIR || { echo "Failed to cd to $WB_DB_DIR" ; exit 1 ;} -for arch in alpha amd64 arm armel hppa i386 ia64 m68k mips mipsel powerpc s390 sparc +for arch in alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc do rm -f $arch-all.txt echo "Getting $arch-all.txt"