From 5f96933d1ad672cc5b29df88a78b32ff4cdd3ebc Mon Sep 17 00:00:00 2001 From: Opportunity Date: Mon, 20 Jan 2020 20:26:37 +0800 Subject: fix path.split --- xmake/core/base/path.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1