diff options
author | Alexander Langer <alex@FreeBSD.org> | 2000-06-10 11:12:10 +0000 |
---|---|---|
committer | Alexander Langer <alex@FreeBSD.org> | 2000-06-10 11:12:10 +0000 |
commit | b26dd5950574d14391df59964ccdbdcd9c316eb7 (patch) | |
tree | d118e3f98cf29777e7a36ef478c79aca208c2245 /Tools | |
parent | Change MAINTAINER: alex@big.endian.de --> alex@FreeBSD.org (diff) |
Add extract-lines for .Z archives.
Change MAINTAINER: alex@big.endian.de --> alex@FreeBSD.org
Reviewed by: will
Notes
Notes:
svn path=/head/; revision=29501
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 |