From 00f34ec89f7735b45a3ecdb55f0952d545d73cbb Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 Apr 2020 23:50:51 +0800 Subject: pass engine name --- xmake/core/base/os.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake/core/base/os.lua') 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 -- cgit v1.3.1