index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-15 09:34:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-15 09:34:58 +0100 |
commit | 387117f5565decbda3ae802ec86431af398fd4fe (patch) | |
tree | 32845d51b6b1be7f27c9e23411c94a1b3aedd65a /bin | |
parent | 954a72aa672feb577f62a7c1470f92bbc203bf92 (diff) |
-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 | \ |