diff options
| author | ruki <[email protected]> | 2018-03-19 22:58:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-03-19 11:51:02 +0800 |
| commit | b8ef04349bfa1441d4e4aa8e8ff138da2f7edf39 (patch) | |
| tree | 778a3c03665915244e7095ea4c1abab26bfaa9ec /xmake/core/base/os.lua | |
| parent | 3c06174eb07adcaeeb206f6b523b21b9e6ee9eb9 (diff) | |
improve os.tmpdir
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 96bf998dc..70af9c6bb 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -477,10 +477,6 @@ function os.tmpdir() -- ensure this directory exist and remove the previous directory if not os.isdir(tmpdir) then os.mkdir(tmpdir) - local predir = path.join(os._tmpdir(), subdir, os.date("%y%m%d", os.time() - 24 * 60 * 60)) - if os.isdir(predir) then - os.rmdir(predir) - end end return tmpdir end |
