Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 18:43:36 +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: r339268 - head/Mk/Scripts
Message-ID:  <201401091843.s09IhaAi069451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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