summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-27 21:00:08 +0800
committerruki <[email protected]>2017-08-27 21:00:08 +0800
commitd3f38de4ea68ca59a74bb8a96ea3ffe4db2563f6 (patch)
tree99bcb856d1457ffaef8206509285d8fee564cdab /xmake
parent096430694f6b106d9a3e73093e1355062f068c36 (diff)
optimize os.tmpdir
Diffstat (limited to 'xmake')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 2 insertions, 0 deletions
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