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