diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-13 09:58:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-13 09:58:18 -0300 |
commit | 39bb9e605f04665f8d838be442d9224745959872 (patch) | |
tree | d4464e8158cb031ae9b7fae7eca077b0e183fdda | |
parent | 5ea13f4c240cf4c8c9f96dc424a5a14acc709f51 (diff) | |
download | backupninja-39bb9e605f04665f8d838be442d9224745959872.tar.gz backupninja-39bb9e605f04665f8d838be442d9224745959872.tar.bz2 |
Trying additional quoting on excludes (upstream #3882)bug/3882
-rw-r--r-- | handlers/rsync.in | 2 |
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/$/'/"` } |