summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-14 11:27:19 +0800
committerruki <[email protected]>2017-08-14 11:29:30 +0800
commitdba45d143d8aff047da82cbe1a881056e6e4bc00 (patch)
tree7b80d5de264c17b538a7c9d0fbb234ded39ac683 /xmake/core/base/os.lua
parent34706ba053dda9dd86902cacf42a6c1878c85234 (diff)
merge repo and require codes
Diffstat (limited to 'xmake/core/base/os.lua')
-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 ad01c67f1..fbe208b9b 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -468,7 +468,7 @@ end
function os.tmpfile()
-- make it
- return path.join(os.tmpdir(), "_" .. (os.uuid():gsub("-", "")))
+ return path.join(os.tmpdir(), "_" .. (hash.uuid():gsub("-", "")))
end
-- run command