aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts/distclean.sh
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-10-09 14:23:44 +0800
committersobomax <sobomax@FreeBSD.org>2000-10-09 14:23:44 +0800
commit6a1eba7603255359905277649884a55d93aeb92b (patch)
treeb0013a1661676116167085cc0946db1240cd7097 /Tools/scripts/distclean.sh
parentf7550d1846157ea77363552af555dbdf80325145 (diff)
downloadfreebsd-ports-gnome-6a1eba7603255359905277649884a55d93aeb92b.tar.gz
freebsd-ports-gnome-6a1eba7603255359905277649884a55d93aeb92b.tar.zst
freebsd-ports-gnome-6a1eba7603255359905277649884a55d93aeb92b.zip
Ajust for a new world order (md5 --> distinfo).
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."