diff options
| author | ruki <[email protected]> | 2020-10-09 00:51:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-09 00:51:40 +0800 |
| commit | 2d138ccf9ab5f5675e610789561a06070fbb1b27 (patch) | |
| tree | 1e0fd0ce3c52c8c06c7e8aa8918a035c00bfc025 | |
| parent | 06653a3f3b55c283b450364e930b285b27c6f364 (diff) | |
improve tar
| -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 363ab7a52..06505f9f8 100644 --- a/xmake/modules/utils/archive/extract.lua +++ b/xmake/modules/utils/archive/extract.lua @@ -44,7 +44,7 @@ function _extract_using_tar(archivefile, outputdir, extension, opt) -- init argv local argv = {} - if is_host("windows") then + if is_subhost("windows") then -- force "x:\\xx" as local file table.insert(argv, "--force-local") end |
