aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2006-01-16 22:01:01 +0000
committerintrigeri <intrigeri@boum.org>2006-01-16 22:01:01 +0000
commit2578bfffa4d98005c851ee35e81e55c45fc6e29c (patch)
treec97c2740daa4a4087d415988e48cf498b05aa859
parent91fba766e8c8744628fd6e4a3f567f72f3008d57 (diff)
downloadbackupninja-2578bfffa4d98005c851ee35e81e55c45fc6e29c.tar.gz
backupninja-2578bfffa4d98005c851ee35e81e55c45fc6e29c.tar.bz2
Fixed (eventually) the globbing include/exclude/vsinclude bug.
-rw-r--r--handlers/dup6
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/dup b/handlers/dup
index b6c2bfd..2e4312b 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -120,13 +120,13 @@ execstr_clientpart="/"
### SOURCE ###
# excludes
-for i in $exclude; do
+for i in "$exclude"; do
str="${i//__star__/*}"
execstr="${execstr}--exclude '$str' "
done
# includes
-for i in $include; do
+for i in "$include"; do
str="${i//__star__/*}"
execstr="${execstr}--include '$str' "
done
@@ -134,7 +134,7 @@ done
# vsincludes
if [ $usevserver ]; then
for vserver in $vsnames; do
- for vi in $vsinclude; do
+ for vi in "$vsinclude"; do
str="${vi//__star__/*}"
execstr="${execstr}--include '$VROOTDIR/$vserver$str' "
done