summaryrefslogtreecommitdiff
path: root/xmake/core/base/path.lua
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-20 20:26:37 +0800
committerOpportunity <[email protected]>2020-01-20 22:21:47 +0800
commit5f96933d1ad672cc5b29df88a78b32ff4cdd3ebc (patch)
treeb2f71ea8aba2e2f5f73d3fb68b514a5ca468dc92 /xmake/core/base/path.lua
parent5c8f634cfab5d0d667a6d1127451c585cdd342be (diff)
fix path.split
Diffstat (limited to 'xmake/core/base/path.lua')
-rw-r--r--xmake/core/base/path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/path.lua b/xmake/core/base/path.lua
index aff61d01b..8332925d5 100644
--- a/xmake/core/base/path.lua
+++ b/xmake/core/base/path.lua
@@ -104,7 +104,7 @@ function path.split(p)
-- check
assert(p)
- return p:split("/\\")
+ return p:split("[/\\]")
end
-- get the path seperator