summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-08-09 18:25:38 +0800
committerruki <[email protected]>2016-08-09 18:25:38 +0800
commit89d5de55a9424c4b6e64d979c2c1aec310087092 (patch)
treedb20e4b0418e730236c172ae679ce88cfc2ec9f5
parent1ccefd32e302e9266446b15facf711d0ff46659f (diff)
fix tmpname bug
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 923496fc3..0389fb75a 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -257,7 +257,7 @@ end
function os.tmpfile()
-- make it
- return path.join(os.tmpdir(), path.filename(os.tmpname()))
+ return path.join(os.tmpdir(), os.uuid())
end
-- run shell