Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 21:07:30 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358638 - head/Mk/Scripts
Message-ID:  <201406202107.s5KL7UVH030225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Jun 20 21:07:30 2014
New Revision: 358638
URL: http://svnweb.freebsd.org/changeset/ports/358638
QAT: https://qat.redports.org/buildarchive/r358638/

Log:
  Do not report files @commented by multiple options as orphans
  
  With hat:	portmgr

Modified:
  head/Mk/Scripts/check-stagedir.sh

Modified: head/Mk/Scripts/check-stagedir.sh
==============================================================================
--- head/Mk/Scripts/check-stagedir.sh	Fri Jun 20 21:06:21 2014	(r358637)
+++ head/Mk/Scripts/check-stagedir.sh	Fri Jun 20 21:07:30 2014	(r358638)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406202107.s5KL7UVH030225>