summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-10-21 23:43:02 +0200
committerJoerg Jaspert <joerg@debian.org>2008-10-21 23:43:02 +0200
commit62404256ad00efddb933621378d30d28e2820449 (patch)
tree8770cbdea982ad382c689bc3d2d88165723407c2 /bin
parent69d708de282d3bf7419a17265e9cd3b6f1f85d83 (diff)
and again a fix for set -u
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 3f555e8..54d4023 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -160,6 +160,7 @@ fi
# If we have been told to do stuff for a different archive than default,
# set the name accordingly.
+ARCHIVE=${ARCHIVE:-""}
if [ -n "${ARCHIVE}" ]; then
NAME="${NAME}-${ARCHIVE}"
fi