From 36d85b6c478fc69043aa4b219d5fc7bf3b626dd4 Mon Sep 17 00:00:00 2001 From: barofsoap Date: Wed, 19 Dec 2012 15:05:35 -0800 Subject: [PATCH] Typo --- duplicity-backup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/duplicity-backup.sh b/duplicity-backup.sh index ffd230f..bf772bc 100755 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -286,9 +286,9 @@ get_source_file_size() OLDIFS=$IFS IFS=$(echo -en "\t\n") - DUEXCFLAG="--exclude-from" + DUEXCFLAG="--exclude-from=" if [ `uname` == 'FreeBSD' ]; then - DUEXCFLAG="-I" + DUEXCFLAG="-I " fi for exclude in ${EXCLIST[@]}; do @@ -298,7 +298,7 @@ get_source_file_size() for include in ${INCLIST[@]} do echo -e '"'$DUEXCLIST'"' | \ - du -hs ${DUEXCFLAG}="-" ${include} | \ + du -hs ${DUEXCFLAG}"-" ${include} | \ awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \ >> ${LOGFILE} done