From d3b31bda37b08b1710fe4f47767e58a033eab7ed Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Tue, 23 Oct 2012 07:23:58 +0200 Subject: [PATCH] added temp_dir rsync parameter --- default-rsync.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/default-rsync.lua b/default-rsync.lua index c4ea741..13f65f2 100644 --- a/default-rsync.lua +++ b/default-rsync.lua @@ -81,6 +81,7 @@ rsync.checkgauge = { -- further rsync options rsh = true, rsync_path = true, + temp_dir = true, }, } @@ -469,6 +470,11 @@ rsync.prepare = function( computedN = computedN + 1 end + if crsync.temp_dir then + computed[ computedN ] = '--temp-dir=' + crsync.temp_dir + computedN = computedN + 1 + end + if shortsN ~= 2 then computed[ 1 ] = table.concat( shorts, '' ) else