Merge branch 'master' of github.com:axkibe/lsyncd

This commit is contained in:
Axel Kittenberger 2012-03-16 16:05:51 +01:00
commit 6b9fd39fea
2 changed files with 6 additions and 4 deletions

View File

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

View File

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