tools: Add RSYNC_OPTS array

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-01-30 19:39:55 -05:00
parent e357bcd867
commit 4de1432aa1
14 changed files with 62 additions and 26 deletions

View file

@ -42,7 +42,10 @@ upload() {
-o VerifyHostKeyDNS=yes
-o StrictHostKeyChecking=no
)
rsync -e "${SSH_CMD[*]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
local RSYNC_OPTS=(
-e "${SSH_CMD[*]}"
)
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
}
post_build() {