From a0ebdbe495c23d2cbbea2bc0e0f85815be5e364f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 15 Mar 2018 10:50:36 +0100 Subject: bin/build-packages: remove paths from required libraries --- bin/build-packages | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/build-packages b/bin/build-packages index 1a73409..a1a0475 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -455,7 +455,10 @@ while [ "${count}" -ne 0 ]; do -exec objdump -x '{}' \; 2>/dev/null | \ grep -w 'NEEDED' | \ awk '{print $2}' | \ - grep -v '\.c32$' + sed ' + /\.c32$/d + s,^.*/,, + ' find "${package_content_dir:?}/${pkgfile##*/}" -xdev -exec chmod 777 '{}' \; rm -rf --one-file-system "${package_content_dir:?}/${pkgfile##*/}" fi | \ -- cgit v1.2.3-70-g09d2