summaryrefslogtreecommitdiff
path: root/Tools/scripts/distclean.sh
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-10-09 06:23:44 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-10-09 06:23:44 +0000
commit6ce7757a77de19e14fa320c759427081b1dee9f2 (patch)
treeda7158f19acadd4841d8b8d5764e21a9b72c890a /Tools/scripts/distclean.sh
parentPut back PKGDIR definition. What do I know -- it was defined in (diff)
Ajust for a new world order (md5 --> distinfo).
Notes
Notes: svn path=/head/; revision=33600
Diffstat (limited to 'Tools/scripts/distclean.sh')
-rwxr-xr-xTools/scripts/distclean.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/distclean.sh b/Tools/scripts/distclean.sh
index dc7b3a6585a4..7154da9eb8f7 100755
--- a/Tools/scripts/distclean.sh
+++ b/Tools/scripts/distclean.sh
@@ -14,13 +14,13 @@
# Maxim Sobolev
# ----------------------------------------------------------------------------
#
-# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.4 2000-08-02 07:13:11 sobomax Exp $
+# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.5 2000-10-09 06:23:44 sobomax Exp $
#
# MAINTAINER= sobomax@FreeBSD.org
PATH=/sbin:/bin:/usr/bin
-echo "Distfiles clean utility v0.40 by Maxim Sobolev <sobomax@altavista.net>."
+echo "Distfiles clean utility by Maxim Sobolev <sobomax@FreeBSD.org>."
echo "Assumes that your ports in /usr/ports and distfiles in /usr/ports/distfiles."
echo ""
@@ -31,7 +31,7 @@ FN_DISTFILES=`mktemp -t dclean` || exit 1
FN_RESULTS_SCRIPT=`mktemp -t dclean` || exit 1
echo -n "Building ports md5 index..."
-find /usr/ports/ -name "md5" -type f | xargs cat | grep "^MD5 ("| sort | uniq > $FN_PORTS
+find /usr/ports/ -name "distinfo" -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."