diff options
| author | ruki <[email protected]> | 2019-11-26 00:48:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-11-25 23:40:49 +0800 |
| commit | eaa013ce4cd12a18c8cc73b948f81dc64cd2d976 (patch) | |
| tree | 95d2b90555ae6867597c08af41131f52e0e11e38 /xmake/core/base/os.lua | |
| parent | 2101b278bb3f1d15395110b25b63a8536ecffb94 (diff) | |
uses hash.uuid4
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index fa8576825..daee20eea 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -537,7 +537,7 @@ end -- generate the temporary file path function os.tmpfile(key) - return path.join(os.tmpdir(), "_" .. (hash.uuid(key):gsub("-", ""))) + return path.join(os.tmpdir(), "_" .. (hash.uuid4(key):gsub("-", ""))) end -- run command |
