tools: Add SSH_CMD array
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
3d95cec60b
commit
e357bcd867
14 changed files with 112 additions and 14 deletions
|
@ -35,7 +35,14 @@ update_symlinks() {
|
|||
}
|
||||
|
||||
upload() {
|
||||
rsync -e 'ssh -i ${UPLOAD_KEY} -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
|
||||
local SSH_CMD=(
|
||||
ssh
|
||||
-i ${UPLOAD_KEY}
|
||||
-o UserKnownHostsFile=/dev/null
|
||||
-o VerifyHostKeyDNS=yes
|
||||
-o StrictHostKeyChecking=no
|
||||
)
|
||||
rsync -e "${SSH_CMD[*]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
|
||||
}
|
||||
|
||||
post_build() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue