summaryrefslogtreecommitdiff
path: root/xmake/core/base/path.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-17 22:41:47 +0800
committerruki <[email protected]>2024-02-17 22:41:47 +0800
commitcda48025005f9aa23bdd582e29bb0f1f1ca24d27 (patch)
treee9a2bba557d969601e886459577c2f4dfc7e3b5f /xmake/core/base/path.lua
parent07064cf6fef8d0a1eb9e697f6c7190f51632aaf8 (diff)
improve path:unix
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 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()