mirror of https://github.com/octoleo/lsyncd.git
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