Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-21 07:41:01 +0100
committerErich Eckner <git@eckner.net>2018-11-21 07:41:01 +0100
commitf7c8679b474f26c01f6678b3976f2b55b0fa035b (patch)
tree014347d59facf3c32ad5b3106ff71ae06096d79c
parent95dd5c4193ebb7b8a1dab992ceede5fd20bb41af (diff)
bin/build-packages: _first_ print the filename, then run objdump - otherwise the symbols are connected to the wrong file in the database
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
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}"'/ {