diff options
| author | ruki <[email protected]> | 2018-12-13 23:53:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-13 17:18:49 +0800 |
| commit | b3fa23bff3a8a34e832a10ef714224d6e728ebd3 (patch) | |
| tree | 1aa20f227a117efdf4e589ba8e31ea5f700f7932 /xmake/modules/utils | |
| parent | 11d0bbaebf5804d331ffa126ec0dab21913dad15 (diff) | |
improve git package
Diffstat (limited to 'xmake/modules/utils')
| -rw-r--r-- | xmake/modules/utils/archive/extract.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua index f5cf33d38..53e3aaa67 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -34,7 +34,7 @@ import("detect.tools.find_unzip") -- extract archivefile using tar function _extract_using_tar(archivefile, outputdir, extension, opt) - -- the tar of winenv can only extract "*.tar" + -- the tar of windows can only extract "*.tar" if os.host() == "windows" and extension ~= ".tar" then return false end |
