diff options
author | feld <feld@FreeBSD.org> | 2015-03-24 04:41:13 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-03-24 04:41:13 +0800 |
commit | 6b08f818503c86eba5a80089ea93bf20648914e4 (patch) | |
tree | 0b88c15b86c22ef54b5d619b70ae4c21b446380c /Mk/Scripts | |
parent | f29a4de728b2a01b2aa93fec9abaefa49ccfc61f (diff) | |
download | freebsd-ports-gnome-6b08f818503c86eba5a80089ea93bf20648914e4.tar.gz freebsd-ports-gnome-6b08f818503c86eba5a80089ea93bf20648914e4.tar.zst freebsd-ports-gnome-6b08f818503c86eba5a80089ea93bf20648914e4.zip |
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
Diffstat (limited to 'Mk/Scripts')
-rw-r--r-- | Mk/Scripts/qa.sh | 2 |
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 |