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
fix: no longer stops syslogging on HUP signals
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
)
else
-- 'cp -t', not supported on OSX
spawn(
event,
'/bin/cp',
event.sourcePath,
-- '-t', not supported on OSX
event.targetPathdir
)
end
@ -52,9 +52,8 @@ default.direct = {
end
spawn(event,
'/bin/cp',
'-t',
event.targetPathdir,
event.sourcePath
event.sourcePath,
event.targetPathdir
)
elseif event.etype == 'Delete' then
if not config.delete then