Skip to content

Commit

Permalink
Merge pull request #5725 from ConnorBaker/master
Browse files Browse the repository at this point in the history
Add support for .tar.gz shorthand (.tgz) to TarballInputScheme
  • Loading branch information
edolstra authored Dec 13, 2021
2 parents 46d86e0 + 52f5fa9 commit ade8707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libfetchers/tarball.cc
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ struct TarballInputScheme : InputScheme

if (!hasSuffix(url.path, ".zip")
&& !hasSuffix(url.path, ".tar")
&& !hasSuffix(url.path, ".tgz")
&& !hasSuffix(url.path, ".tar.gz")
&& !hasSuffix(url.path, ".tar.xz")
&& !hasSuffix(url.path, ".tar.bz2")
Expand Down

0 comments on commit ade8707

Please sign in to comment.