Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 | \