svn commit: r386884 - head/Mk/Scripts

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 20 19:47:52 UTC 2015


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}


More information about the svn-ports-head mailing list