From 2ee623a89ad42306001d454c4638a561cf9685c2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 Jun 2017 10:34:58 +0100 Subject: [PATCH] stripper: Fix for newer versions of file The output has changed and this patch will now ignore any additional output. Signed-off-by: Michael Tremer --- src/stripper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stripper b/src/stripper index 3601e74274..d73848fc6e 100755 --- a/src/stripper +++ b/src/stripper @@ -43,7 +43,7 @@ function _strip() { for dir in ${dirs}; do # Strip shared objects. find ${dir} -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \ - | file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped/\1/p' | + | file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped.*/\1/p' | while read file; do _strip ${file} || exit $? done || exit $? -- 2.39.5