Allow for more text in file output
On Solaris 11 unstripped ELF binaries can have additional text in the output from 'file' which we need to account for.
This commit is contained in:
parent
5b36aaacb7
commit
71104210b2
@ -900,7 +900,7 @@ do_strip_bin()
|
||||
echo "Stripping ELF binaries..."
|
||||
for f in `${__find} . -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -exec ${__file} {} \; | \
|
||||
${__grep} -v ' dynamic lib ' | \
|
||||
${__sed} -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do
|
||||
${__sed} -n -e 's/^\(.*\):[ ]*ELF.*, not stripped.*/\1/p'`; do
|
||||
${__strip} $strip_elf_args $f || :
|
||||
done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user