summaryrefslogtreecommitdiff
path: root/xmake/modules/utils
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-22 00:57:43 +0800
committerruki <[email protected]>2018-09-21 23:46:19 +0800
commit180e96c3759ab7e80e18d3ab445945d8c758e01a (patch)
treef1937cc046a89baa3fcc4a85cc29bd879455b2c3 /xmake/modules/utils
parent77f1de5eea59bef799343336c960e9983ffd5cf5 (diff)
extract .tgz
Diffstat (limited to 'xmake/modules/utils')
-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 076119dec..720f179b6 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -262,6 +262,7 @@ function main(archivefile, outputdir)
[".zip"] = {_extract_using_unzip, _extract_using_tar, _extract_using_7z}
, [".7z"] = {_extract_using_7z}
, [".gz"] = {_extract_using_gzip, _extract_using_tar, _extract_using_7z}
+ , [".tgz"] = {_extract_using_tar, _extract_using_7z}
, [".bz2"] = {_extract_using_tar, _extract_using_7z}
, [".tar"] = {_extract_using_tar, _extract_using_7z}
, [".tar.gz"] = {_extract_using_tar, _extract_using_gzip, _extract_using_7z}