summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorSirLynix <[email protected]>2023-07-22 20:00:33 +0200
committerSirLynix <[email protected]>2023-07-22 20:00:33 +0200
commit32d1380ab6d9ed97074dd472ec9bcff6c670a2c9 (patch)
tree6f606d926e2949eb787a1a73660f694d873fde73 /xmake/modules/private
parent337e79f761d4131529e60b03e90c4725f8ec4a93 (diff)
use path.joinenv
Diffstat (limited to 'xmake/modules/private')
-rw-r--r--xmake/modules/private/action/run/runenvs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/run/runenvs.lua b/xmake/modules/private/action/run/runenvs.lua
index e8e420d3d..dd5b7ba4c 100644
--- a/xmake/modules/private/action/run/runenvs.lua
+++ b/xmake/modules/private/action/run/runenvs.lua
@@ -70,7 +70,7 @@ end
function _flatten_envs(envs)
local flatten_envs = {}
for name, values in pairs(envs) do
- flatten_envs[name] = table.concat(values, path.envsep())
+ flatten_envs[name] = path.joinenv(values)
end
return flatten_envs
end