aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-06-21 05:07:30 +0800
committerantoine <antoine@FreeBSD.org>2014-06-21 05:07:30 +0800
commit9fe91bd4969dc74d9c81003c0454579333debc2b (patch)
tree136a7ab8eed775ec15314282119e87f3163a5f46 /Mk
parent0e9d2b8fcdcbc82843a04124510bc4db2ecbd744 (diff)
downloadfreebsd-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.sh2
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.