From d3f38de4ea68ca59a74bb8a96ea3ffe4db2563f6 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 27 Aug 2017 21:00:08 +0800 Subject: optimize os.tmpdir --- xmake/core/base/os.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmake/core/base/os.lua') diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 27b909117..359ff24cb 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -459,6 +459,8 @@ function os.tmpdir() local ldpath = os.getenv("LD_LIBRARY_PATH") if ldpath and ldpath:find("libfakeroot", 1, true) then os._FAKEROOT = true + else + os._FAKEROOT = false end end -- cgit v1.3.1