mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
dont use cp -t
This commit is contained in:
parent
d6688fc8ab
commit
ad48ecd7bd
@ -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
|
||||
|
@ -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.targetPathdir,
|
||||
)
|
||||
elseif event.etype == 'Delete' then
|
||||
if not config.delete then
|
||||
|
Loading…
Reference in New Issue
Block a user