pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/scripts .tar.z is a valid tar extension.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c7cf8aaac09
branches:  trunk
changeset: 507510:9c7cf8aaac09
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 03 11:22:12 2006 +0000

description:
.tar.z is a valid tar extension.

diffstat:

 mk/scripts/extract |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4d7d13f2d7c8 -r 9c7cf8aaac09 mk/scripts/extract
--- a/mk/scripts/extract        Fri Feb 03 10:49:53 2006 +0000
+++ b/mk/scripts/extract        Fri Feb 03 11:22:12 2006 +0000
@@ -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 @@
 
 # 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 ;;



Home | Main Index | Thread Index | Old Index