aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-11-29 11:30:06 +0000
committerintrigeri <intrigeri@boum.org>2005-11-29 11:30:06 +0000
commitd5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace (patch)
treec501cfacf22edf5715e1ba8aeddd41d29555daa1
parent4f344987a910c3d7fcd7e91f445f990bc6691312 (diff)
downloadbackupninja-d5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace.tar.gz
backupninja-d5c8686efd9ea9a5c4f8bc8c3566c2e6a0165ace.tar.bz2
dup: Fixed globbing support in include and exclude options (Debian bug #338796)
-rw-r--r--handlers/dup4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/dup b/handlers/dup
index 8d38cfc..79be2fc 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -105,13 +105,13 @@ execstr_clientpart="/"
# excludes
for i in $exclude; do
str="${i//__star__/*}"
- execstr="${execstr}--exclude $str "
+ execstr="${execstr}--exclude '$str' "
done
# includes
for i in $include; do
str="${i//__star__/*}"
- execstr="${execstr}--include $str "
+ execstr="${execstr}--include '$str' "
done
# vsincludes