aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-13 09:58:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-13 09:58:18 -0300
commit39bb9e605f04665f8d838be442d9224745959872 (patch)
treed4464e8158cb031ae9b7fae7eca077b0e183fdda
parent5ea13f4c240cf4c8c9f96dc424a5a14acc709f51 (diff)
downloadbackupninja-39bb9e605f04665f8d838be442d9224745959872.tar.gz
backupninja-39bb9e605f04665f8d838be442d9224745959872.tar.bz2
Trying additional quoting on excludes (upstream #3882)bug/3882
-rw-r--r--handlers/rsync.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index ad8e64f..3108b37 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -277,7 +277,7 @@ function eval_config {
mv=move_files
fi
- excludes=`echo "$exclude" | @SED@ 's/^/--exclude=/g' -e 's/ / --exclude=/g'`
+ excludes=`echo "$exclude" | @SED@ "s/^/--exclude='/g" -e "s/ /' --exclude='/g" -e "s/$/'/"`
}