aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-09-12 16:35:16 +0800
committervd <vd@FreeBSD.org>2006-09-12 16:35:16 +0800
commit10b34852065ab9c0cbf30bc3a235e3769c686d36 (patch)
tree3b28950a7e6bce64ea1a790ebe24170d7c99fc32 /Tools
parent9be01f618818aac1aff1dd4cc0ab560630d2ef72 (diff)
downloadfreebsd-ports-gnome-10b34852065ab9c0cbf30bc3a235e3769c686d36.tar.gz
freebsd-ports-gnome-10b34852065ab9c0cbf30bc3a235e3769c686d36.tar.zst
freebsd-ports-gnome-10b34852065ab9c0cbf30bc3a235e3769c686d36.zip
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.
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:"