summaryrefslogtreecommitdiff
path: root/xmake/modules/utils/archive/extract.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-11 23:07:51 +0800
committerruki <[email protected]>2025-04-11 23:07:51 +0800
commit47c472d605b3c0dce1678b5ea2fe2006961beb9a (patch)
treef543b37e2465abb127ced8d059d995329eb064c5 /xmake/modules/utils/archive/extract.lua
parent9b1e0c32d9258d314ead010386ff7a2ebc5c3f93 (diff)
remove tmpdirs
Diffstat (limited to 'xmake/modules/utils/archive/extract.lua')
-rw-r--r--xmake/modules/utils/archive/extract.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua
index a77c10b6e..65d846413 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -428,6 +428,7 @@ function _extract_uncompressed_tar(outputdir_old, outputdir, opt)
-- remove the temporary tar file
-- @see https://github.com/xmake-io/xmake/issues/6311
os.rm(tarfile)
+ os.rm(outputdir, {emptydirs = true})
return ok
end
end