diff options
author | wiz <wiz@pkgsrc.org> | 2006-05-30 23:51:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-05-30 23:51:38 +0000 |
commit | 146f6c4ecf03e2fc8f657fd5c930d4d7a6264c6e (patch) | |
tree | cde78159876589b193ac84173c89ded92d6ed738 /mk/scripts | |
parent | 79548dc6f9591d0eec89817e13ceeaf66c6319ef (diff) | |
download | pkgsrc-146f6c4ecf03e2fc8f657fd5c930d4d7a6264c6e.tar.gz |
Recognize -tar.gz as tar.gz files. PR 33571 by Dieter Roelants.
Diffstat (limited to 'mk/scripts')
-rwxr-xr-x | mk/scripts/extract | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/extract b/mk/scripts/extract index ea477bae03a..544d1f2283e 100755 --- a/mk/scripts/extract +++ b/mk/scripts/extract @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: extract,v 1.20 2006/02/19 15:38:23 adrianp Exp $ +# $NetBSD: extract,v 1.21 2006/05/30 23:51:38 wiz Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -178,7 +178,7 @@ esac # Derive the format of the archive based on the file extension. case "$distfile" in -*.tar.gz|*.tgz|*_tar.gz|*.tar.bz2|*.tbz|*.tbz2|*.tar.Z|*.tar.z|*.tar|*.tar.bz) +*.tar.gz|*.tgz|*-tar.gz|*_tar.gz|*.tar.bz2|*.tbz|*.tbz2|*.tar.Z|*.tar.z|*.tar|*.tar.bz) _format=tar ;; *.shar.gz|*.shar.bz2|*.shar.Z|*.shar|*.shr.gz|*.shr.bz2|*.shr.Z|*.shr) _format=shar ;; |