Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2015 19:47:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386884 - head/Mk/Scripts
Message-ID:  <201505201947.t4KJlptb064174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May 20 19:47:51 2015
New Revision: 386884
URL: https://svnweb.freebsd.org/changeset/ports/386884

Log:
  - Add ${PREFIX}/www to shebang check. We have many shebang problems which need to be discovered and fixed in www category.
  
  Differential Revision:	D2580
  Approved by:	portmgr (bapt)

Modified:
  head/Mk/Scripts/qa.sh

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Wed May 20 19:21:06 2015	(r386883)
+++ head/Mk/Scripts/qa.sh	Wed May 20 19:47:51 2015	(r386884)
@@ -57,7 +57,8 @@ shebang() {
 	# Use heredoc to avoid losing rc from find|while subshell
 	done <<-EOF
 	$(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \
-	    ${STAGEDIR}${PREFIX}/libexec -type f -perm +111 2>/dev/null)
+	    ${STAGEDIR}${PREFIX}/libexec ${STAGEDIR}${PREFIX}/www \
+	    -type f -perm +111 2>/dev/null)
 	EOF
 
 	# Split stat(1) result into 2 lines and read each line separately to
@@ -77,8 +78,8 @@ shebang() {
 	# Use heredoc to avoid losing rc from find|while subshell
 	done <<-EOF
 	$(find ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/sbin \
-	    ${STAGEDIR}${PREFIX}/libexec -type l \
-	    -exec stat -f "%N${LF}%Y" {} + 2>/dev/null)
+	    ${STAGEDIR}${PREFIX}/libexec ${STAGEDIR}${PREFIX}/www \
+	    -type l -exec stat -f "%N${LF}%Y" {} + 2>/dev/null)
 	EOF
 
 	return ${rc}



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