From 4bc6c93902928a9fba521e6efe0ef23576972c5a Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Fri, 11 Feb 2011 13:29:45 +0100 Subject: [PATCH] Fix default value assignment in get-w-b-db. Signed-off-by: Torsten Werner --- scripts/nfu/get-w-b-db | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db index ae8fb1b9..57afc92c 100755 --- a/scripts/nfu/get-w-b-db +++ b/scripts/nfu/get-w-b-db @@ -31,9 +31,7 @@ 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 -- 2.39.2