mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-13 22:48:29 +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
|
-- this was a ** before v
|
||||||
p = string.gsub(p, "%[%^/%]%*%[%^/%]%*", ".*")
|
p = string.gsub(p, "%[%^/%]%*%[%^/%]%*", ".*")
|
||||||
p = string.gsub(p, "^/", "^")
|
p = string.gsub(p, "^/", "^")
|
||||||
p = string.gsub(p, "/$", "/$")
|
p = string.gsub(p, "/$", ".*/$")
|
||||||
log("Exclude", "toLuaPattern '",o,"' = '",p,'"')
|
log("Exclude", "toLuaPattern '",o,"' = '",p,'"')
|
||||||
return p
|
return p
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user