summaryrefslogtreecommitdiff
path: root/xmake/core/base/path.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-26 22:41:28 +0800
committerruki <[email protected]>2022-05-26 22:41:28 +0800
commitefc38953bc7909b397e306b585c1b75c0ae7af79 (patch)
treeb6acfa7d389299408b1dfdda6b84131603e672b1 /xmake/core/base/path.lua
parent2889113f4a23a6442cf083f0e128228c13f262ba (diff)
fix path concat
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 3dfb90b2a..ff156c150 100644
--- a/xmake/core/base/path.lua
+++ b/xmake/core/base/path.lua
@@ -125,7 +125,7 @@ end
-- concat two paths
function _instance:__concat(other)
- return path.new(path.join(self:str(), tostring(other)), self._TRANSFORM)
+ return path.join(tostring(self), tostring(other))
end
-- tostring(path)