aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-06-10 19:12:10 +0800
committeralex <alex@FreeBSD.org>2000-06-10 19:12:10 +0800
commit2668d62352f4f9e87e041cfbf2dd6840c2ba293e (patch)
treed984a945f4bd4fcdaac166086a1d00ed0ddea01d /Tools
parent8e86097acdeb074b2f30c1ef043b81bf5c0e8aa6 (diff)
downloadfreebsd-ports-gnome-2668d62352f4f9e87e041cfbf2dd6840c2ba293e.tar.gz
freebsd-ports-gnome-2668d62352f4f9e87e041cfbf2dd6840c2ba293e.tar.zst
freebsd-ports-gnome-2668d62352f4f9e87e041cfbf2dd6840c2ba293e.zip
Add extract-lines for .Z archives.
Change MAINTAINER: alex@big.endian.de --> alex@FreeBSD.org Reviewed by: will
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/checksum.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tools/scripts/checksum.sh b/Tools/scripts/checksum.sh
index a2a1b6c6b693..47a5e854e96b 100755
--- a/Tools/scripts/checksum.sh
+++ b/Tools/scripts/checksum.sh
@@ -2,7 +2,7 @@
#
# Created by: Alexander Langer <alex@big.endian.de>
# Created on: May 22, 2000
-# MAINTAINER= alex@big.endian.de
+# MAINTAINER= alex@FreeBSD.org
if [ -z $1 ]; then
echo "Usage: $0 <portname> ..."
@@ -53,6 +53,12 @@ while [ ! -z $1 ]; do
cd ../new
tar -zxf $PORTSDIR/distfiles/$broken
cd ..
+ elif file $broken | grep "compress'd data 16 bits" >/dev/null; then
+ cd orig
+ tar -zxf ../$broken
+ cd ../new
+ tar -zxf $PORTSDIR/distfiles/$broken
+ cd ..
elif file $broken | grep "zip archive file" >/dev/null; then
cd orig
unzip ../$broken