summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-01 17:10:47 +0800
committerGitHub <[email protected]>2021-09-01 17:10:47 +0800
commita4e63a441b807b21510c1cc87c46b6e7c40bc343 (patch)
tree86065ec6044ea337daa55b3eb75c9f272e0a1cb0
parentb9d4b06cb993b737a28d59561c3b5b4002a429f9 (diff)
Update extract.lua
-rw-r--r--xmake/modules/utils/archive/extract.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua
index 69616fea6..b853e2c8e 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -149,7 +149,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.*"))
+ os.tryrm(path.join(outputdir, "PaxHeaders*"))
os.tryrm(path.join(outputdir, "@PaxHeader"))
end