Fix strip check to consider setuid binaries.

file(1) returns 'setuid' before the rest of the ELF output.

With hat:	portmgr
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-04-30 02:44:30 +00:00
parent 4067b975a7
commit d200dc8283
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385021

View file

@ -146,7 +146,7 @@ stripped() {
while read f; do
read output
case "${output}" in
ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*)
*ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|*ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*)
warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}"
;;
esac