diff options
-rwxr-xr-x | bin/build-packages | 3 |
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}' | \ |