aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 10:05:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 10:05:06 +0000
commit9a158320b9f388ad491eaecf97a4da1867c32370 (patch)
tree17692c46e6cd04b892503c28f55c5b0bd9e987fe /Tools
parent3f24913c50a5757cd1e2ba5e4e56795c4db689c7 (diff)
downloadports-9a158320b9f388ad491eaecf97a4da1867c32370.tar.gz
ports-9a158320b9f388ad491eaecf97a4da1867c32370.zip
Notes
Diffstat (limited to 'Tools')
-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 b7aa43de992b..2449af496d6d 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.2 2000-06-05 15:50:32 sobomax Exp $
+# $FreeBSD: /tmp/pcvs/ports/Tools/scripts/distclean.sh,v 1.3 2000-06-06 10:05:06 sobomax Exp $
#
# MAINTAINER= sobomax@FreeBSD.org
@@ -31,13 +31,13 @@ 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 "md5" -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."
echo -n "Building distfiles md5 index..."
-find -H /usr/ports/distfiles -type f | xargs md5 | sed 's|/usr/ports/distfiles/||' | sort > $FN_DISTFILES
+find /usr/ports/distfiles/ -type f | xargs md5 | sed 's|/usr/ports/distfiles/||' | sort > $FN_DISTFILES
echo "Done."
D_MD5_COUNT=`wc -l $FN_DISTFILES | sed "s| $FN_DISTFILES|| ; s| ||g"`
echo "Found $D_MD5_COUNT distfile(s) in your distfiles directory."