From 470615922a8f76eca77b87902a02498a223c51bf Mon Sep 17 00:00:00 2001
From: Erich Eckner <git@eckner.net>
Date: Mon, 12 Mar 2018 21:36:23 +0100
Subject: bin/build-packages: chmod 777 also during library search

---
 bin/build-packages | 1 +
 1 file changed, 1 insertion(+)

(limited to 'bin/build-packages')

diff --git a/bin/build-packages b/bin/build-packages
index ea346bc..1bc1206 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -452,6 +452,7 @@ while [ "${count}" -ne 0 ]; do
                 awk '{print $2}' | \
                 sort -u > \
                 "${pkgfile}.so.needs"
+              find "${package_content_dir:?}/${pkgfile##*/}" -xdev -exec chmod 777 {} \;
               rm -rf --one-file-system "${package_content_dir:?}/${pkgfile##*/}"
             done
           >&2 printf 'running namcap ...'
-- 
cgit v1.2.3-70-g09d2