diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2006-05-02 09:16:10 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2006-05-02 09:16:10 +0000 |
commit | 8529c41f37233aebae098a6dfbcd99cd37c25342 (patch) | |
tree | 074a4e5ea26aeeb3c7dcfb9f8d2fd410add2052e /Tools/scripts | |
parent | b7ca3be57f77f3482195a282e22405f042360792 (diff) | |
download | ports-8529c41f37233aebae098a6dfbcd99cd37c25342.tar.gz ports-8529c41f37233aebae098a6dfbcd99cd37c25342.zip |
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/rmport | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 5571a7e9c53f..7013cacebb1e 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -113,11 +113,12 @@ check_dep() fi # 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 ${catport} \ + |xargs grep -Hw ${portdir_grep} \ |grep -vE "^(${rmcatports})" || :`" if [ -n "${r}" ] ; then - log "${catport}: some ports mention ${catport} in their Makefiles:" + log "${catport}: some ports mention ${portdir_grep} in their Makefiles:" printf "%s\n" "${r}" >&2 err=1 fi |