diff options
Diffstat (limited to 'src/offload-build.in')
-rw-r--r-- | src/offload-build.in | 3 |
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 |