mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-13 14:43:09 +00:00
changed meaning of exclude trail slash
This commit is contained in:
parent
a5a0b04ae0
commit
42c1c4c62d
@ -705,7 +705,7 @@ local Excludes = (function()
|
||||
-- this was a ** before v
|
||||
p = string.gsub(p, "%[%^/%]%*%[%^/%]%*", ".*")
|
||||
p = string.gsub(p, "^/", "^")
|
||||
p = string.gsub(p, "/$", "/$")
|
||||
p = string.gsub(p, "/$", ".*/$")
|
||||
log("Exclude", "toLuaPattern '",o,"' = '",p,'"')
|
||||
return p
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user