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-03-15 10:50:36 +0100
committerErich Eckner <git@eckner.net>2018-03-15 10:50:36 +0100
commita0ebdbe495c23d2cbbea2bc0e0f85815be5e364f (patch)
tree48ff148cd4a64ac665d5c35328b88bb0c0cc3851
parentc31b7cc1dd5bd9ccce5b9cd22b68c5514ba40455 (diff)
bin/build-packages: remove paths from required libraries
-rwxr-xr-xbin/build-packages5
1 files changed, 4 insertions, 1 deletions
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 | \