diff options
author | antoine <antoine@FreeBSD.org> | 2014-06-21 05:07:30 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-06-21 05:07:30 +0800 |
commit | 9fe91bd4969dc74d9c81003c0454579333debc2b (patch) | |
tree | 136a7ab8eed775ec15314282119e87f3163a5f46 /Mk | |
parent | 0e9d2b8fcdcbc82843a04124510bc4db2ecbd744 (diff) | |
download | freebsd-ports-gnome-9fe91bd4969dc74d9c81003c0454579333debc2b.tar.gz freebsd-ports-gnome-9fe91bd4969dc74d9c81003c0454579333debc2b.tar.zst freebsd-ports-gnome-9fe91bd4969dc74d9c81003c0454579333debc2b.zip |
Do not report files @commented by multiple options as orphans
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index 08c0cf6183fe..dffab77e4179 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -29,7 +29,7 @@ parse_plist() { # make all ports use @ignore instead of @comment. comment= if [ ${makeplist} -eq 0 -a -z "${line%%@comment *}" ]; then - line="${line#@comment }" + line="${line##*@comment }" # Remove @comment so it can be parsed as a file, # but later prepend it again to create a list of # all files commented and uncommented. |