From 1b48bc44445cba33a748bb8ad2833d7e2187d1ad Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Fri, 15 Jun 2012 20:27:01 +0200
Subject: [PATCH] rsync: stop passing $excludes as a single argument.

---
 handlers/rsync.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/handlers/rsync.in b/handlers/rsync.in
index c584e7f..2620c47 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -1116,7 +1116,7 @@ for SECTION in $include; do
   set_dest
 
   info "Syncing $SECTION on $dest_path..."
-  debug $nice $rsync "${rsync_options[@]}" $filelist_flag "$excludes" $batch_option $orig $dest_path
+  debug $nice $rsync "${rsync_options[@]}" $filelist_flag $excludes $batch_option $orig $dest_path
   set_pipefail
   $nice $rsync "${rsync_options[@]}" $filelist_flag "$excludes" $batch_option $orig $dest_path | tee -a $log
 
-- 
GitLab