From 825fa0d6638f2e1afddfbce447c4fdf51330e493 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Nov 2018 10:06:58 +0100 Subject: bin/build-packages: "grep -w" matched only words - we should do so now, too --- bin/build-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index ae3d01a..80e5d5a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -570,7 +570,7 @@ while [ "${count}" -ne 0 ] && \ -exec objdump -x '{}' \; 2>/dev/null | \ sed ' /^architecture:.* i386:x86-64, /,/^architecture:.* i386:x86-32, / d - /NEEDED/ { + /\sNEEDED\s/ { s/^\s*\S\+\s\+\(\S\+\)\(\s.*\)\?$/\1/ /\.c32$/d s,^.*/,, @@ -615,7 +615,7 @@ while [ "${count}" -ne 0 ] && \ h d } - /SONAME/ { + /\sSONAME\s/ { s/^\s*\S\+\s\+\(\S\+\)\s.*$/\1/ t } -- cgit v1.2.3-70-g09d2