index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-packages | 4 |
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 | \ |