From: Silvio Rhatto Date: Fri, 13 Apr 2012 12:58:18 +0000 (-0300) Subject: Trying additional quoting on excludes (upstream #3882) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=39bb9e605f04665f8d838be442d9224745959872;p=backupninja.git Trying additional quoting on excludes (upstream #3882) --- 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/$/'/"` }