From 39bb9e605f04665f8d838be442d9224745959872 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 13 Apr 2012 09:58:18 -0300 Subject: Trying additional quoting on excludes (upstream #3882) --- handlers/rsync.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/$/'/"` } -- cgit v1.2.3