From 62404256ad00efddb933621378d30d28e2820449 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 21 Oct 2008 23:43:02 +0200 Subject: and again a fix for set -u Signed-off-by: Joerg Jaspert --- bin/ftpsync | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3