diff options
| author | ruki <[email protected]> | 2021-05-11 23:05:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-11 23:05:05 +0800 |
| commit | a19a2e76fbd8abe1f592f013776a8776a758aa1f (patch) | |
| tree | 637b83038ba3c69dde63b95f8907220d5ff37296 /xmake/core/base/os.lua | |
| parent | 25ab4b16a712d599246afd9ee7512194783d9706 (diff) | |
add trampoline for coroutine
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index f2c62ee45..8fe7457e9 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -1002,7 +1002,7 @@ end function os.getenvs() local envs = os._CURENVS if not envs then - --print("os.getenvs") +-- print("os.getenvs") envs = {} for _, line in ipairs(os._getenvs()) do local p = line:find('=', 1, true) @@ -1055,7 +1055,7 @@ end os._setenv2 = os._setenv os._setenv = function (name, value) print("setenv", name, value) - os._setenv2(name, value) + return os._setenv2(name, value) end os._getenv = os.getenv |
