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
|
#!/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
|
PATH=/bin:/usr/bin
|
||||||
export PATH
|
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
|
# /usr/ports/distfiles
|
||||||
PORTS=/usr/ports
|
PORTS=/usr/ports
|
||||||
ALLSUMS=`mktemp /tmp/checksums.XXXXXX` || exit 1
|
ALLSUMS=`mktemp /tmp/checksums.XXXXXX` || exit 1
|
||||||
@ -13,9 +13,9 @@ GREP_RESULT=`mktemp /tmp/grep.XXXXXX` || exit 1
|
|||||||
touch $ALLSUMS
|
touch $ALLSUMS
|
||||||
cut -d\| -f2 <$PORTS/INDEX|while read i
|
cut -d\| -f2 <$PORTS/INDEX|while read i
|
||||||
do
|
do
|
||||||
if [ -f $i/files/md5 ]
|
if [ -f $i/distinfo ]
|
||||||
then
|
then
|
||||||
cat $i/files/md5 >>$ALLSUMS
|
cat $i/distinfo >>$ALLSUMS
|
||||||
else
|
else
|
||||||
echo "Port $i does not seem to have a checksum file"
|
echo "Port $i does not seem to have a checksum file"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user