mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +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…
Reference in New Issue
Block a user