Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index aa86a5d..fc61e78 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -310,7 +310,7 @@ while [ "${count}" -ne 0 ] && \
-name 'tmp.build-packages.??????' \
-printf '%p\n' | \
while read -r old_tmp_dir; do
- find "${old_tmp_dir}" -xdev -exec chmod 777 {} \;
+ find "${old_tmp_dir}" -xdev -not -type l -exec chmod 777 {} \;
rm -rf --one-file-system "${old_tmp_dir}"
done
tmp_dir=$(mktemp -d "${work_dir}/tmp.build-packages.XXXXXX")
@@ -635,7 +635,7 @@ while [ "${count}" -ne 0 ] && \
' | \
sort -u >> \
"${pkgfile}.so.provides"
- find "${package_content_dir:?}/${pkgfile##*/}" -xdev -exec chmod 777 '{}' \;
+ find "${package_content_dir:?}/${pkgfile##*/}" -xdev -not -type l -exec chmod 777 '{}' \;
rm -rf --one-file-system "${package_content_dir:?}/${pkgfile##*/}"
fi
tar -tJf "${pkgfile}" 2>/dev/null | \