mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-22 22:58:35 +00:00
added temp_dir rsync parameter
This commit is contained in:
parent
9dbea196c5
commit
d3b31bda37
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user