[snapshot/master] use $BASE throughout import-run
---
master/import-run | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/master/import-run b/master/import-run
index 1bfc0fd..3ee3853 100755
--- a/master/import-run
+++ b/master/import-run
@@ -3,11 +3,11 @@
set -e
set -u
-PATH="/usr/bin:/bin:/srv/snapshot.debian.org/bin"
+BASE="/srv/snapshot.debian.org"
+PATH="/usr/bin:/bin:$BASE/bin"
export TZ=UTC
umask 022
-BASE="/srv/snapshot.debian.org"
CONFIG="$BASE/etc/snapshot.conf"
@@ -22,7 +22,7 @@ archive="${1:-""}"
#IGNORES="--ignore /Archive-Update-in-Progress-stabile.debian.org --ignore /Archive-Update-Required-stabile.debian.org"
case "$archive" in
"debian"|"debian-security"|"debian-volatile"|"debian-archive"|"debian-backports"|"debian-ports")
- force_slow_flag="/srv/snapshot.debian.org/FORCE-SLOW-$archive"
+ force_slow_flag="$BASE/FORCE-SLOW-$archive"
if [ -e "$force_slow_flag" ]; then
quick=""
else
--
1.5.6.5
Reply to: