svn commit: r339268 - head/Mk/Scripts

Antoine Brodin antoine at FreeBSD.org
Thu Jan 9 18:43:36 UTC 2014


Author: antoine
Date: Thu Jan  9 18:43:36 2014
New Revision: 339268
URL: http://svnweb.freebsd.org/changeset/ports/339268

Log:
  Fix paths check from qa.sh
  IFS is set to newline so dirs was not correctly splitted
  
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/Scripts/qa.sh

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Thu Jan  9 18:43:24 2014	(r339267)
+++ head/Mk/Scripts/qa.sh	Thu Jan  9 18:43:36 2014	(r339268)
@@ -54,9 +54,8 @@ symlinks() {
 
 paths() {
 	rc=0
-	dirs="${STAGEDIR} ${WRKDIR}"
 	IFS="$LF" ; for f in `find ${STAGEDIR} -type f`;do
-		for d in ${dirs}; do
+		for d in ${STAGEDIR} ${WRKDIR}; do
 			if grep -q ${d} ${f} ; then
 				err "${f} is referring to ${d}"
 				rc=1


More information about the svn-ports-all mailing list