diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-01-30 19:39:55 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-01-30 20:56:43 -0500 |
commit | 4de1432aa1494b7c2459bb7fa740234a6777eac5 (patch) | |
tree | f92552f44ac56c27ae8f636a4e738cb8574744a3 /tools/catalyst-auto-x86.conf | |
parent | tools: Add SSH_CMD array (diff) | |
download | releng-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.conf | 14 |
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() { |