index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-10 09:42:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-10 09:42:28 +0200 |
commit | 0eae9c3f895ddf187e3807aa76ae3400379a2ad1 (patch) | |
tree | f08c3b7ad5038c9d810c26cfba29aa90c93f643a /bin/copy-to-build-support | |
parent | 6d10a24d55bfdadcce69f3f0beb4c1a018af8060 (diff) |
-rwxr-xr-x | bin/copy-to-build-support | 6 |
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support index 70e26e7..7456235 100755 --- a/bin/copy-to-build-support +++ b/bin/copy-to-build-support @@ -167,7 +167,7 @@ sort -u "${tmp_dir}/repo-archs" | \ while read -r repo_arch; do mkdir "${tmp_dir}/${repo_arch}" - ${master_mirror_rsync_command} \ + failsafe_rsync \ "${master_mirror_rsync_directory}/${repo_arch}/build-support/build-support.db."* \ "${master_mirror_rsync_directory}/${repo_arch}/build-support/build-support.files."* \ "${tmp_dir}/${repo_arch}/" @@ -179,7 +179,7 @@ if [ -s "${tmp_dir}/to-copy" ]; then while read -r repo_arch; do mkdir "${tmp_dir}/transit/${repo_arch}/" # shellcheck disable=SC2046 - ${master_mirror_rsync_command} \ + failsafe_rsync \ $(sed -n 's,^'"$(str_to_regex "${repo_arch}")"' ,,;T;p' "${tmp_dir}/to-copy") \ "${tmp_dir}/transit/${repo_arch}/" repo-add "${tmp_dir}/${repo_arch}/build-support.db.tar.gz" \ @@ -198,7 +198,7 @@ while read -r repo_arch; do "${tmp_dir}" \ "${tmp_dir}/${repo_arch}/build-support."*".tar.gz" \ "${tmp_dir}/${repo_arch}/build-support."*".tar.gz.old" - ${master_mirror_rsync_command} \ + failsafe_rsync \ "${tmp_dir}/${repo_arch}/build-support.db."* \ "${tmp_dir}/${repo_arch}/build-support.files."* \ "${master_mirror_rsync_directory}/${repo_arch}/build-support/" |