added temp_dir rsync parameter

This commit is contained in:
Axel Kittenberger 2012-10-23 07:23:58 +02:00
parent 9dbea196c5
commit d3b31bda37

View File

@ -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