diff options
| -rw-r--r-- | xmake/modules/devel/debugger/run.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/private/action/run/runenvs.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/devel/debugger/run.lua b/xmake/modules/devel/debugger/run.lua index 858efae68..6befa017e 100644 --- a/xmake/modules/devel/debugger/run.lua +++ b/xmake/modules/devel/debugger/run.lua @@ -259,7 +259,7 @@ function _run_renderdoc(program, argv, opt) table.insert(environment, { separator = "Platform style", type = "Append", - value = table.concat(values, path.envsep()), + value = path.joinenv(values), variable = name }) end @@ -270,7 +270,7 @@ function _run_renderdoc(program, argv, opt) table.insert(environment, { separator = "Platform style", type = "Set", - value = table.concat(values, path.envsep()), + value = path.joinenv(values), variable = name }) end 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 |
