tools: Use same set of RSYNC_OPTS

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-01-30 19:41:01 -05:00
parent 4de1432aa1
commit 33ce8acb57
12 changed files with 36 additions and 0 deletions

View file

@ -44,6 +44,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -66,6 +66,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
else else

View file

@ -38,6 +38,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -44,6 +44,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -37,6 +37,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -43,6 +43,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -44,6 +44,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -67,6 +67,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
else else

View file

@ -54,6 +54,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
fi fi

View file

@ -37,6 +37,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -37,6 +37,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }

View file

@ -39,6 +39,9 @@ upload() {
) )
local RSYNC_OPTS=( local RSYNC_OPTS=(
-e "${SSH_CMD[*]}" -e "${SSH_CMD[*]}"
--archive
--omit-dir-times
--delay-updates
) )
rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org: rsync "${RSYNC_OPTS[@]}" "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
} }