diff options
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 |
