mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Unbroke when /usr/ports is symlink.
Submitted by: ben
This commit is contained in:
parent
cd17f78c34
commit
898e9fee9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45607
@ -14,7 +14,7 @@
|
||||
# Maxim Sobolev
|
||||
# ----------------------------------------------------------------------------
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.8 2001-05-17 13:50:59 sobomax Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.9 2001-07-30 09:01:12 sobomax Exp $
|
||||
#
|
||||
# MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
@ -48,7 +48,7 @@ trap cleanup 1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 21 22 23 24 25 26 27 28 29 \
|
||||
30 21
|
||||
|
||||
echo -n "Building ports md5 index..."
|
||||
find /usr/ports -name "distinfo" -or -name "distinfo.i386" -or -name "distinfo.alpha" -type f | xargs cat | grep "^MD5 ("| sort | uniq > $FN_PORTS
|
||||
find /usr/ports/ -name "distinfo" -or -name "distinfo.i386" -or -name "distinfo.alpha" -type f | xargs cat | grep "^MD5 ("| sort | uniq > $FN_PORTS
|
||||
echo "Done."
|
||||
P_MD5_COUNT=`wc -l $FN_PORTS | sed "s| $FN_PORTS|| ; s| ||g"`
|
||||
echo "Found $P_MD5_COUNT md5 entries in your ports directory."
|
||||
|
Loading…
Reference in New Issue
Block a user