summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-03 11:22:12 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-03 11:22:12 +0000
commitafe110c0863226f5aee938b051bb29fb62f1be0c (patch)
tree1f483f6a0d8c7b94031a745dab076f8786cd4f56 /mk/scripts
parent50466a1e2276f135642ea04b0c9c30bad243c7c8 (diff)
downloadpkgsrc-afe110c0863226f5aee938b051bb29fb62f1be0c.tar.gz
.tar.z is a valid tar extension.
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 909b1264900..f34a0271e4c 100755
--- a/mk/scripts/extract
+++ b/mk/scripts/extract
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: extract,v 1.17 2006/02/02 14:28:17 joerg Exp $
+# $NetBSD: extract,v 1.18 2006/02/03 11:22:12 joerg Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -168,7 +168,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)
+*.tar.gz|*.tgz|*_tar.gz|*.tar.bz2|*.tbz|*.tbz2|*.tar.Z|*.tar.z|*.tar)
_format=tar ;;
*.shar.gz|*.shar.bz2|*.shar.Z|*.shar|*.shr.gz|*.shr.bz2|*.shr.Z|*.shr)
_format=shar ;;