From e116ce0a6e93bd7599c5a29d819d5fb0aae01d38 Mon Sep 17 00:00:00 2001 From: Birger Schmidt Date: Wed, 24 Oct 2012 17:46:18 +1100 Subject: [PATCH] fix parameter handling for rsync options --- default-rsync.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/default-rsync.lua b/default-rsync.lua index 13f65f2..ba45535 100644 --- a/default-rsync.lua +++ b/default-rsync.lua @@ -50,6 +50,7 @@ rsync.checkgauge = { rsync = { -- rsync binary binary = true, + _extra = true, -- rsync shortflags verbose = true, @@ -461,17 +462,17 @@ rsync.prepare = function( end if crsync.rsh then - computed[ computedN ] = '--rsh=' + crsync.rsh + computed[ computedN ] = '--rsh='..crsync.rsh computedN = computedN + 1 end if crsync.rsync_path then - computed[ computedN ] = '--rsync-path=' + crsync.rsync_path + computed[ computedN ] = '--rsync-path='..crsync.rsync_path computedN = computedN + 1 end if crsync.temp_dir then - computed[ computedN ] = '--temp-dir=' + crsync.temp_dir + computed[ computedN ] = '--temp-dir='..crsync.temp_dir computedN = computedN + 1 end