mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-06-12 21:22:24 +00:00
fix % chars in excludes
This commit is contained in:
parent
f17e82ce5c
commit
4d07452ef9
|
@ -1002,7 +1002,7 @@ local Excludes = (function()
|
|||
--
|
||||
local function toLuaPattern(p)
|
||||
local o = p
|
||||
p = string.gsub(p, "%%", "%%") -- TODO check
|
||||
p = string.gsub(p, "%%", "%%%%")
|
||||
p = string.gsub(p, "%^", "%%^")
|
||||
p = string.gsub(p, "%$", "%%$")
|
||||
p = string.gsub(p, "%(", "%%(")
|
||||
|
|
Loading…
Reference in New Issue
Block a user