summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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