36d85b6c478fc69043aa4b219d5fc7bf3b626dd4

Author
barofsoap <fishkid@yahoo.com>
Committer
barofsoap <fishkid@yahoo.com>
Date

Message

Typo

Diff

 1diff --git a/duplicity-backup.sh b/duplicity-backup.sh
 2index ffd230f2948cad76cb0517b4a9204d840243a883..bf772bcf976d43b81a5aa527ed1c7823dfcb249d 100755
 3--- a/duplicity-backup.sh
 4+++ b/duplicity-backup.sh
 5@@ -286,9 +286,9 @@ get_source_file_size()
 6   OLDIFS=$IFS
 7   IFS=$(echo -en "\t\n")
 8   
 9-  DUEXCFLAG="--exclude-from"
10+  DUEXCFLAG="--exclude-from="
11   if [ `uname` == 'FreeBSD' ]; then 
12-     DUEXCFLAG="-I"
13+     DUEXCFLAG="-I "
14   fi
15 
16   for exclude in ${EXCLIST[@]}; do
17@@ -298,7 +298,7 @@ get_source_file_size()
18   for include in ${INCLIST[@]}
19     do
20       echo -e '"'$DUEXCLIST'"' | \
21-	      du -hs ${DUEXCFLAG}="-" ${include} | \
22+	      du -hs ${DUEXCFLAG}"-" ${include} | \
23       awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
24       >> ${LOGFILE}
25   done