summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-09 18:43:36 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-09 18:43:36 +0000
commit7a75fc64ed597b12c67f10ad87585aa5a3c894a7 (patch)
treee3a727937e510269c1902ba6f50f9d509d0a3f4c /Mk
parent6600596708401db77e3bba1dbf028062f2c5b6a6 (diff)
downloadfreebsd-ports-7a75fc64ed597b12c67f10ad87585aa5a3c894a7.zip
Fix paths check from qa.sh
IFS is set to newline so dirs was not correctly splitted Approved by: portmgr (bapt)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/qa.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index 9162f95744de..bec647cca392 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -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