mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
Merge branch 'master' of github.com:axkibe/lsyncd
This commit is contained in:
commit
6b9fd39fea
@ -1,3 +1,6 @@
|
|||||||
|
??-??-????:
|
||||||
|
fix: defalut.direct, do not use on OSX unrecognized option -t on modify
|
||||||
|
|
||||||
16-02-2011: 2.0.6
|
16-02-2011: 2.0.6
|
||||||
fix: no longer stops syslogging on HUP signals
|
fix: no longer stops syslogging on HUP signals
|
||||||
fix: OSX event watcher no longer misses moves into and out of the watch tree
|
fix: OSX event watcher no longer misses moves into and out of the watch tree
|
||||||
|
@ -38,11 +38,11 @@ default.direct = {
|
|||||||
event.targetPath
|
event.targetPath
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
-- 'cp -t', not supported on OSX
|
||||||
spawn(
|
spawn(
|
||||||
event,
|
event,
|
||||||
'/bin/cp',
|
'/bin/cp',
|
||||||
event.sourcePath,
|
event.sourcePath,
|
||||||
-- '-t', not supported on OSX
|
|
||||||
event.targetPathdir
|
event.targetPathdir
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -52,9 +52,8 @@ default.direct = {
|
|||||||
end
|
end
|
||||||
spawn(event,
|
spawn(event,
|
||||||
'/bin/cp',
|
'/bin/cp',
|
||||||
'-t',
|
event.sourcePath,
|
||||||
event.targetPathdir,
|
event.targetPathdir
|
||||||
event.sourcePath
|
|
||||||
)
|
)
|
||||||
elseif event.etype == 'Delete' then
|
elseif event.etype == 'Delete' then
|
||||||
if not config.delete then
|
if not config.delete then
|
||||||
|
Loading…
Reference in New Issue
Block a user