Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/offload-build.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/offload-build.in')
-rw-r--r--src/offload-build.in3
1 files changed, 2 insertions, 1 deletions
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