summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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