summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorwiz <wiz>2006-05-30 23:51:38 +0000
committerwiz <wiz>2006-05-30 23:51:38 +0000
commit4e49a6b0dec5c27bb196859572e60ae3c8dc7c93 (patch)
treecde78159876589b193ac84173c89ded92d6ed738 /mk/scripts
parente182608d037b077762b48b34b2de79ae7a5f3546 (diff)
downloadpkgsrc-4e49a6b0dec5c27bb196859572e60ae3c8dc7c93.tar.gz
Recognize -tar.gz as tar.gz files. PR 33571 by Dieter Roelants.
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/extract4
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 ;;