svn commit: r358638 - head/Mk/Scripts

Antoine Brodin antoine at FreeBSD.org
Fri Jun 20 21:07:30 UTC 2014


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.


More information about the svn-ports-head mailing list