diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-07-30 17:01:12 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-07-30 17:01:12 +0800 |
commit | 2cd385d1f15239e678049e445977c95b9b9fcbd4 (patch) | |
tree | 9217326778450f6b4f5e34d1a09d4e1236518b89 /Tools | |
parent | 6ff1b9239d3acb49a0e3de98352da251c81d7c1f (diff) | |
download | freebsd-ports-gnome-2cd385d1f15239e678049e445977c95b9b9fcbd4.tar.gz freebsd-ports-gnome-2cd385d1f15239e678049e445977c95b9b9fcbd4.tar.zst freebsd-ports-gnome-2cd385d1f15239e678049e445977c95b9b9fcbd4.zip |
Unbroke when /usr/ports is symlink.
Submitted by: ben
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/distclean.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/distclean.sh b/Tools/scripts/distclean.sh index 81b586a38f75..2d1f6cdb5c30 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.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." |