aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-19 23:20:00 +0800
committersobomax <sobomax@FreeBSD.org>2001-03-19 23:20:00 +0800
commit8ff9fabd00f4fc1ae12cdeda3a2c78f27d7468cb (patch)
tree15d6aa7fc6a74f1a6dec995809ea75ce5804988b /Tools
parentc25ab0c46ab356b77c2b2dea3229e1092440e193 (diff)
downloadfreebsd-ports-gnome-8ff9fabd00f4fc1ae12cdeda3a2c78f27d7468cb.tar.gz
freebsd-ports-gnome-8ff9fabd00f4fc1ae12cdeda3a2c78f27d7468cb.tar.zst
freebsd-ports-gnome-8ff9fabd00f4fc1ae12cdeda3a2c78f27d7468cb.zip
Look into arch-specific distinfo's as well.
Prompted by: Vadim Ostranitsyn <vadim@alpha.tsu.ru>
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/distclean.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/distclean.sh b/Tools/scripts/distclean.sh
index 7154da9eb8f7..854e414256db 100755
--- a/Tools/scripts/distclean.sh
+++ b/Tools/scripts/distclean.sh
@@ -14,7 +14,7 @@
# Maxim Sobolev
# ----------------------------------------------------------------------------
#
-# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.5 2000-10-09 06:23:44 sobomax Exp $
+# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.6 2001-03-19 15:20:00 sobomax Exp $
#
# MAINTAINER= sobomax@FreeBSD.org
@@ -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 "distinfo" -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."