Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 13:36:52 +0100
committerErich Eckner <git@eckner.net>2018-03-14 13:36:52 +0100
commit288aa9fb981e71a58f1df9d0a0257e6968422d06 (patch)
tree30c3f964cfed60e26eeb5d83075cb865fc1e690c /bin/build-packages
parent254ba8ac7e63d024da55f459a9d9d76c65e8d3ce (diff)
bin/build-packages: ignore "opt" for libraries, but also check symlinks
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 1ac8dc3..edfa913 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -446,7 +446,8 @@ while [ "${count}" -ne 0 ]; do
while read -r pkgfile; do
mkdir "${package_content_dir}/${pkgfile##*/}"
tar -C "${package_content_dir}/${pkgfile##*/}" -xJf "${pkgfile}" 2>/dev/null
- find "${package_content_dir}/${pkgfile##*/}" -type f \
+ find "${package_content_dir}/${pkgfile##*/}" \
+ -name 'opt' -prune , \
-exec objdump -x '{}' \; 2>/dev/null | \
grep -w 'NEEDED' | \
awk '{print $2}' | \