index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Orhun Parmaksız <orhunparmaksiz@gmail.com> | 2023-08-07 14:29:30 +0300 |
---|---|---|
committer | Christian Heusel <christian@heusel.eu> | 2024-02-15 22:23:54 +0100 |
commit | 39eaeaa4b2e021ec44cc63c70493f9c9ef0c8ba4 (patch) | |
tree | 24e38eebc33c16375291280b31f1f94e39bc3e05 | |
parent | c79a99314822fe4238b66f92c81b288208073a24 (diff) |
-rw-r--r-- | src/offload-build.in | 3 |
diff --git a/src/offload-build.in b/src/offload-build.in index 8992c23..7a8c1fd 100644 --- a/src/offload-build.in +++ b/src/offload-build.in @@ -23,6 +23,7 @@ fi repo=extra arch=x86_64 server=build.archlinux.org +rsyncopts=(-e ssh -c -h -L --progress --partial -y) usage() { cat <<- _EOF_ @@ -124,7 +125,7 @@ mapfile -t files < <( if (( ${#files[@]} )); then printf '%s\n' '' '-> copying files...' - scp "${files[@]/#/$server:}" "${TEMPDIR}/" + rsync "${rsyncopts[@]}" "${files[@]/#/$server:}" "${TEMPDIR}/" || die mv "${TEMPDIR}"/*.pkg.tar* "${PKGDEST:-${PWD}}/" mv "${TEMPDIR}/PKGBUILD" "${PWD}/" else |