summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-03-23 20:41:13 +0000
committerMark Felder <feld@FreeBSD.org>2015-03-23 20:41:13 +0000
commitf582bb666a01ec392bc0f04bc083983b98520f05 (patch)
tree0b88c15b86c22ef54b5d619b70ae4c21b446380c /Mk
parent- Update to 1.4202 (diff)
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
Notes
Notes: svn path=/head/; revision=382038
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/qa.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index 5553849325d6..dfab22a53ea1 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -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