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
|
@ -74,13 +74,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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue