aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-01-30 19:39:55 -0500
committerMatt Turner <mattst88@gentoo.org>2021-01-30 20:56:43 -0500
commit4de1432aa1494b7c2459bb7fa740234a6777eac5 (patch)
treef92552f44ac56c27ae8f636a4e738cb8574744a3 /tools/catalyst-auto-x86.conf
parenttools: Add SSH_CMD array (diff)
downloadreleng-4de1432aa1494b7c2459bb7fa740234a6777eac5.tar.gz
releng-4de1432aa1494b7c2459bb7fa740234a6777eac5.tar.bz2
releng-4de1432aa1494b7c2459bb7fa740234a6777eac5.zip
tools: Add RSYNC_OPTS array
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'tools/catalyst-auto-x86.conf')
-rw-r--r--tools/catalyst-auto-x86.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/catalyst-auto-x86.conf b/tools/catalyst-auto-x86.conf
index ef983969..1c809465 100644
--- a/tools/catalyst-auto-x86.conf
+++ b/tools/catalyst-auto-x86.conf
@@ -61,13 +61,13 @@ upload() {
-o VerifyHostKeyDNS=yes
-o StrictHostKeyChecking=no
)
- rsync \
- -e "${SSH_CMD[*]}" \
- -a \
- --omit-dir-times \
- --delay-updates \
- "$@" \
- "${UPLOAD_DEST}"
+ local RSYNC_OPTS=(
+ -e "${SSH_CMD[*]}"
+ --archive
+ --omit-dir-times
+ --delay-updates
+ )
+ rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_DEST}
}
post_build() {