tools: Add RSYNC_OPTS array
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
e357bcd867
commit
4de1432aa1
14 changed files with 62 additions and 26 deletions
|
@ -52,7 +52,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:
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue