diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-07-13 18:10:19 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-07-13 18:10:19 +0200 |
commit | 610b2316b54ff4e33ea7ea374ad2fea828ee038a (patch) | |
tree | b0dd83854b1a7ff3ce08eeba11d3f79da2f5a9a7 | |
parent | ebead34509f0720212563c93d16c93847720ae0f (diff) | |
download | justbuild-610b2316b54ff4e33ea7ea374ad2fea828ee038a.tar.gz |
just-mr: Auto detect archive compression
(cherry picked from d1cc993ff46b187e1f7669291f611d80b05b3bb3)
-rw-r--r-- | src/other_tools/root_maps/content_git_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp index 9af1c49c..40ecda32 100644 --- a/src/other_tools/root_maps/content_git_map.cpp +++ b/src/other_tools/root_maps/content_git_map.cpp @@ -31,7 +31,7 @@ namespace { -> std::optional<std::string> { if (repo_type == "archive") { return ArchiveOps::ExtractArchive( - ArchiveType::kArchiveTypeTarGz, archive, dst_dir); + ArchiveType::kArchiveTypeTar, archive, dst_dir); } if (repo_type == "zip") { return ArchiveOps::ExtractArchive( |