diff options
author | alex <alex@FreeBSD.org> | 2000-06-10 19:12:10 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2000-06-10 19:12:10 +0800 |
commit | 2668d62352f4f9e87e041cfbf2dd6840c2ba293e (patch) | |
tree | d984a945f4bd4fcdaac166086a1d00ed0ddea01d /Tools | |
parent | 8e86097acdeb074b2f30c1ef043b81bf5c0e8aa6 (diff) | |
download | freebsd-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-x | Tools/scripts/checksum.sh | 8 |
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 |