diff options
author | vd <vd@FreeBSD.org> | 2006-10-05 18:40:29 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-10-05 18:40:29 +0800 |
commit | 169fb2cbad392103b1ca0289644983b4d736f382 (patch) | |
tree | c82bbc6a1dba6ab6a9ede93c6a256ab2c703baa5 /Tools | |
parent | 0b58a039444accb35b090333b6244fefcabf7be9 (diff) | |
download | freebsd-ports-gnome-169fb2cbad392103b1ca0289644983b4d736f382.tar.gz freebsd-ports-gnome-169fb2cbad392103b1ca0289644983b4d736f382.tar.zst freebsd-ports-gnome-169fb2cbad392103b1ca0289644983b4d736f382.zip |
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
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})" || :`" |