mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-14 06:58:29 +00:00
Merge pull request #160 from bs-github/master
fix for non working rsync options
This commit is contained in:
commit
856186168f
@ -50,6 +50,7 @@ rsync.checkgauge = {
|
|||||||
rsync = {
|
rsync = {
|
||||||
-- rsync binary
|
-- rsync binary
|
||||||
binary = true,
|
binary = true,
|
||||||
|
_extra = true,
|
||||||
|
|
||||||
-- rsync shortflags
|
-- rsync shortflags
|
||||||
verbose = true,
|
verbose = true,
|
||||||
@ -461,17 +462,17 @@ rsync.prepare = function(
|
|||||||
end
|
end
|
||||||
|
|
||||||
if crsync.rsh then
|
if crsync.rsh then
|
||||||
computed[ computedN ] = '--rsh=' + crsync.rsh
|
computed[ computedN ] = '--rsh='..crsync.rsh
|
||||||
computedN = computedN + 1
|
computedN = computedN + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
if crsync.rsync_path then
|
if crsync.rsync_path then
|
||||||
computed[ computedN ] = '--rsync-path=' + crsync.rsync_path
|
computed[ computedN ] = '--rsync-path='..crsync.rsync_path
|
||||||
computedN = computedN + 1
|
computedN = computedN + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
if crsync.temp_dir then
|
if crsync.temp_dir then
|
||||||
computed[ computedN ] = '--temp-dir=' + crsync.temp_dir
|
computed[ computedN ] = '--temp-dir='..crsync.temp_dir
|
||||||
computedN = computedN + 1
|
computedN = computedN + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user