diff options
author | vd <vd@FreeBSD.org> | 2006-09-12 16:35:16 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-09-12 16:35:16 +0800 |
commit | 10b34852065ab9c0cbf30bc3a235e3769c686d36 (patch) | |
tree | 3b28950a7e6bce64ea1a790ebe24170d7c99fc32 /Tools | |
parent | 9be01f618818aac1aff1dd4cc0ab560630d2ef72 (diff) | |
download | freebsd-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-x | Tools/scripts/rmport | 2 |
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:" |