diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2006-10-05 10:40:29 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2006-10-05 10:40:29 +0000 |
commit | 1854c2ed1d8bd952e3d46e00e8296483ccf4f444 (patch) | |
tree | 24b768eb2bb52daf25f35bb1d78d6cccef7b7a7a /Tools | |
parent | a2e121b9d9e8cbf3b4844d7bd45e997ed649cd6f (diff) |
When checking for dependencies of foocategory/barport also find constructs
like .../barport/something e.g. expect either space, slash or eol after
port's name
Notes
Notes:
svn path=/head/; revision=174530
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 10723c1a4a76..3d1a19ffe7f3 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -144,7 +144,7 @@ check_dep() fi # check if some Makefiles mention the port to be deleted - portdir_grep="^[^#].*/`basename ${catport}`([[:space:]]+|$)" + portdir_grep="^[^#].*/`basename ${catport}`([[:space:]]|/|$)" r="`find ${PORTSDIR} -mindepth 2 -maxdepth 3 \( -name "Makefile*" -or -path "*Mk/*.mk" \) \ |xargs grep -EH "${portdir_grep}" \ |grep -vE "^(${rmcatports})" || :`" |