summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-16 10:06:58 +0100
committerErich Eckner <git@eckner.net>2018-11-16 10:06:58 +0100
commit825fa0d6638f2e1afddfbce447c4fdf51330e493 (patch)
tree87658b17bd1d2757056c2549d6fd7b3738ab8d42
parent26caf3b571f023cfd9d56314abccab845e94b07b (diff)
downloadbuilder-825fa0d6638f2e1afddfbce447c4fdf51330e493.tar.xz
bin/build-packages: "grep -w" matched only words - we should do so now, too
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
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
}