From f7c8679b474f26c01f6678b3976f2b55b0fa035b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Nov 2018 07:41:01 +0100 Subject: bin/build-packages: _first_ print the filename, then run objdump - otherwise the symbols are connected to the wrong file in the database --- bin/build-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index 862a32f..758be0e 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -611,8 +611,8 @@ while [ "${count}" -ne 0 ] && \ find "${package_content_dir}/${pkgfile##*/}" \ -name 'opt' -prune , \ -type f \ - -exec objdump -x '{}' \; \ - -printf "${checksum}"'%f\n' 2>/dev/null | \ + -printf "${checksum}"'%f\n' \ + -exec objdump -x '{}' \; 2>/dev/null | \ sed ' /^architecture:.* i386:x86-64, /,/^architecture:.* i386:x86-32, / d /^'"${checksum}"'/ { -- cgit v1.2.3-54-g00ecf