summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-04 17:30:26 +0800
committerruki <[email protected]>2016-04-04 17:30:26 +0800
commitfedf748ddd3353f6065dc2502eaec2e396bc2c2a (patch)
tree28d1794396831d5b40c6e7554837372632873f0c /xmake/core/sandbox/modules/os.lua
parent70e2500e9a37a57622c7b4875171e6f07fd523ae (diff)
reimpl config
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
-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 f3a3c0702..8b2ab34ff 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -178,7 +178,7 @@ function sandbox_os.qrun(cmd, ...)
cmd = vformat(cmd, ...)
-- make temporary log file
- log = os.tmpname()
+ local log = os.tmpname()
-- run command
if 0 ~= os.execute(cmd .. string.format(" > %s 2>&1", log)) then