duplicity-backup.sh: Fix quotation issue

The if condition was not quoted correctly, leading to an error that a unary
operator is expected. This fixes it by quoting the condition correctly, which
is already done in the same way for most of the following if conditions.
This commit is contained in:
Karol Babioch 2014-02-05 16:56:26 +01:00
parent 5e939fd632
commit 3bfd78c19c

View file

@ -417,7 +417,7 @@ include_exclude()
done done
# Include/Exclude globbing filelist # Include/Exclude globbing filelist
if [ $INCEXCFILE != '' ]; then if [ "$INCEXCFILE" != '' ]; then
TMP=" --include-globbing-filelist ""'"$INCEXCFILE"'" TMP=" --include-globbing-filelist ""'"$INCEXCFILE"'"
INCLUDE=$INCLUDE$TMP INCLUDE=$INCLUDE$TMP
fi fi