Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Jul 16, 2019
1 parent 7723b5b commit cba6d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/base/os.lua
Expand Up @@ -948,7 +948,7 @@ function os.setenv(name, ...)
local values = {...}
if #values <= 1 then
-- keep compatible with original implementation
os._setenv(name, values[1])
os._setenv(name, values[1] or "")
else
os._setenv(path.joinenv(values))
end
Expand Down

0 comments on commit cba6d7e

Please sign in to comment.