summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-19 23:01:56 +0800
committerruki <[email protected]>2019-07-19 12:54:41 +0800
commit85c03562de5a5e2b28eefbb53cb28816f7b98d32 (patch)
tree023f7138eec7d56766b02f3791649eeaefc61a89 /xmake/core/base/os.lua
parent311a955a8e4fe8b68033426415258e6dc23b2e0c (diff)
match and build files
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 4c23ed0c4..2f17ebc27 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -208,7 +208,7 @@ function os.match(pattern, mode, callback)
-- get the excludes
local excludes = pattern:match("|.*$")
- if excludes then excludes = excludes:split("|") end
+ if excludes then excludes = excludes:split("|", {plain = true}) end
-- translate excludes
if excludes then