dont use cp -t

This commit is contained in:
Axel Kittenberger 2012-02-18 08:29:48 +01:00
parent d6688fc8ab
commit ad48ecd7bd
2 changed files with 5 additions and 3 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.targetPathdir,
)
elseif event.etype == 'Delete' then
if not config.delete then