diff options
| author | ruki <[email protected]> | 2020-04-22 23:50:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-22 17:05:10 +0800 |
| commit | 00f34ec89f7735b45a3ecdb55f0952d545d73cbb (patch) | |
| tree | 805b1ebb127cc86f94f1ecc6dd883294337ef00d /xmake/core/base/os.lua | |
| parent | 05df31effcfc9bc701387e1383b678f0914241be (diff) | |
pass engine name
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index b6334a922..f4acb808c 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -555,7 +555,8 @@ function os.tmpdir(opt) -- make sub-directory name local subdir = os._TMPSUBDIR if not subdir then - subdir = path.join((os._FAKEROOT and ".xmakefake" or ".xmake") .. (os.uid().euid or ""), os.date("%y%m%d")) + local name = "." .. xmake._NAME + subdir = path.join((os._FAKEROOT and (name .. "fake") or name) .. (os.uid().euid or ""), os.date("%y%m%d")) os._TMPSUBDIR = subdir end |
