summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-09-12 08:35:16 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-09-12 08:35:16 +0000
commitf5a601c10acb6a0a5a0e8346c695433d114a70a3 (patch)
tree38bf4215af6472ba4783a2a3848bcc94d5d6c93c /Tools
parentWebInject is a free tool for automated testing of web applications and web (diff)
Remove grep's -w switch from the dependency check since it misses some
dependencies. This needs some more polishing but for now it is better to emit false positives than skip dependencies.
Notes
Notes: svn path=/head/; revision=172833
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 588de7c64490..5a67a925a23c 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -146,7 +146,7 @@ check_dep()
# check if some port mentions the port to be deleted
portdir_grep="/`basename ${catport}`"
r="`find ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \
- |xargs grep -Hw ${portdir_grep} \
+ |xargs grep -H ${portdir_grep} \
|grep -vE "^(${rmcatports})" || :`"
if [ -n "${r}" ] ; then
log "${catport}: some ports mention ${portdir_grep} in their Makefiles:"