From cda48025005f9aa23bdd582e29bb0f1f1ca24d27 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 17 Feb 2024 22:41:47 +0800 Subject: improve path:unix --- 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 94efb562b..3cc496421 100644 --- a/xmake/core/base/path.lua +++ b/xmake/core/base/path.lua @@ -90,7 +90,7 @@ function _instance:translate(opt) end function _instance:unix() - return self:translate({unix = true}) + return path.new(path.unix(self:str()), self._TRANSFORM) end function _instance:filename() -- cgit v1.3.1