summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-03 11:22:12 +0000
committerjoerg <joerg>2006-02-03 11:22:12 +0000
commit8458b7b517eab35a525d8ba2abb9f87ac853aa74 (patch)
tree1f483f6a0d8c7b94031a745dab076f8786cd4f56 /mk/scripts
parent9bb9a8aa36678ff0fc958e76fbb423aae2471d18 (diff)
downloadpkgsrc-8458b7b517eab35a525d8ba2abb9f87ac853aa74.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 ;;