summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2022-12-22 11:19:32 +0100
committerGitHub <[email protected]>2022-12-22 11:19:32 +0100
commit3424e69c904f8e7f0b43f891bf639a46cb43b133 (patch)
treebc9e0f4ccf799006068cf4083727d4e82165df05
parent7e602304514c06802830428be6b580bf8df2834a (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 8cd30b958..1d7e55efa 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -415,7 +415,7 @@ function main(archivefile, outputdir, opt)
extractors =
{
-- tar supports .zip on macOS but does not on Linux
- [".zip"] = is_host("macosx") and {_extract_using_unzip, _extract_using_tar, _extract_using_7z} or {_extract_using_unzip, _extract_using_7z},
+ [".zip"] = is_host("macosx") and {_extract_using_unzip, _extract_using_tar, _extract_using_7z} or {_extract_using_unzip, _extract_using_7z}
, [".7z"] = {_extract_using_7z}
, [".gz"] = {_extract_using_gzip, _extract_using_tar, _extract_using_7z}
, [".xz"] = {_extract_using_xz, _extract_using_tar, _extract_using_7z}