Date: Mon, 23 Mar 2015 20:41:13 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382038 - head/Mk/Scripts Message-ID: <201503232041.t2NKfDLq089251@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503232041.t2NKfDLq089251>