Update to reality. From: Kyle Hargraves <ekstases@earthlink.net>
brad@ ok
This commit is contained in:
parent
5ff5e2885b
commit
9cfd3298aa
@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
#$OpenBSD: check-distfiles,v 1.2 1999/05/28 19:21:42 rohee Exp $
|
||||
#$OpenBSD: check-distfiles,v 1.3 2002/11/27 16:56:00 margarida Exp $
|
||||
|
||||
PATH=/bin:/usr/bin
|
||||
export PATH
|
||||
|
||||
# This does a full-scale check of everything that lives under
|
||||
# This script does a full-scale check of everything that lives under
|
||||
# /usr/ports/distfiles
|
||||
PORTS=/usr/ports
|
||||
ALLSUMS=`mktemp /tmp/checksums.XXXXXX` || exit 1
|
||||
@ -13,9 +13,9 @@ GREP_RESULT=`mktemp /tmp/grep.XXXXXX` || exit 1
|
||||
touch $ALLSUMS
|
||||
cut -d\| -f2 <$PORTS/INDEX|while read i
|
||||
do
|
||||
if [ -f $i/files/md5 ]
|
||||
if [ -f $i/distinfo ]
|
||||
then
|
||||
cat $i/files/md5 >>$ALLSUMS
|
||||
cat $i/distinfo >>$ALLSUMS
|
||||
else
|
||||
echo "Port $i does not seem to have a checksum file"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user