From efe09b2a11d9e43cfe1e3289ed9cae6ff7b867e7 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 10 Nov 2019 21:16:26 +0800 Subject: improve unarchive for 7z on windows --- xmake/modules/utils/archive/extract.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua index fcb1a9a57..af4c64b82 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -128,6 +128,7 @@ function _extract_using_7z(archivefile, outputdir, extension, opt) -- remove unused pax_global_header file after extracting .tar file if extension == ".tar" then os.tryrm(path.join(outputdir, "pax_global_header")) + os.tryrm(path.join(outputdir, "PaxHeaders.*")) end -- continue to extract *.tar file -- cgit v1.3.1