summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-12 16:39:30 +0800
committerruki <[email protected]>2016-07-12 16:39:30 +0800
commit2a95f6e1394c42f166ac4184ab2cf4d77b4ffa7a (patch)
treec65cc09f95249a2491352a10313a0d7f9f74060f /xmake/core
parent18894a316af66cb5fc2556e7e2a119a93e37458d (diff)
fix and optimizate to compile issues for cl.exe
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua
index ab61d0866..03ffe7af0 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -242,7 +242,7 @@ function sandbox_os.iorun(cmd, ...)
-- run it
local ok, outdata, errdata = os.iorun(cmd)
if not ok then
- os.raise(errdata)
+ os.raise((outdata or "") .. (errdata or ""))
end
-- ok