svn commit: r382038 - head/Mk/Scripts

Mark Felder feld at FreeBSD.org
Mon Mar 23 20:41:14 UTC 2015


Author: feld
Date: Mon Mar 23 20:41:13 2015
New Revision: 382038
URL: https://svnweb.freebsd.org/changeset/ports/382038
QAT: https://qat.redports.org/buildarchive/r382038/

Log:
  Speed up checking for stripped binaries
  
  Skip ascii files. This significantly speeds up stage-qa on ports with a
  considerable amount of text files being installed.
  
  Differential Revision:	https://reviews.freebsd.org/D2121
  Approved by:	bdrewery

Modified:
  head/Mk/Scripts/qa.sh

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Mon Mar 23 20:16:01 2015	(r382037)
+++ head/Mk/Scripts/qa.sh	Mon Mar 23 20:41:13 2015	(r382038)
@@ -142,7 +142,7 @@ stripped() {
 	# Split file and result into 2 lines and read separately to ensure
 	# files with spaces are kept intact.
 	find ${STAGEDIR} -type f \
-	    -exec /usr/bin/file -nNF "${LF}" {} + |
+	    -exec /usr/bin/file --exclude ascii -nNF "${LF}" {} + |
 	    while read f; do
 		    read output
 		case "${output}" in


More information about the svn-ports-head mailing list