summaryrefslogtreecommitdiff
path: root/xmake/core/base/path.lua
diff options
context:
space:
mode:
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()