commit:     d3b07d3e00912f859b692d196c5e579d018a051a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 20:11:40 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed May 22 20:11:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d3b07d3e

scripts/auto-bootstraps/dobootstrap: apply more caffeine

ensure we don't fall asleep while rsyncing the build results back to the
server.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/auto-bootstraps/dobootstrap | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/scripts/auto-bootstraps/dobootstrap 
b/scripts/auto-bootstraps/dobootstrap
index de986e0169..5a37b5391d 100755
--- a/scripts/auto-bootstraps/dobootstrap
+++ b/scripts/auto-bootstraps/dobootstrap
@@ -128,9 +128,9 @@ do_prepare() {
 
        if [[ -n ${DOPUBLISH} ]] ; then
                echo $((endtime - starttime)) > elapsedtime
-               rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/
-               rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/${chost}/
-               rsync -rltv \
+               ${keepalive} rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/
+               ${keepalive} rsync -q /dev/null 
${UPLOAD}/${HOSTNAME}-$$/${chost}/
+               ${keepalive} rsync -rltv \
                        --exclude=work/ \
                        --exclude=homedir/ \
                        --exclude=files \
@@ -145,7 +145,8 @@ do_prepare() {
                        var/log/emerge.log \
                        etc/portage/make.conf \
                        ${UPLOAD}/${HOSTNAME}-$$/${chost}/${dte}/
-               rsync -q /dev/null 
${UPLOAD}/${HOSTNAME}-$$/${chost}/${dte}/push-complete/
+               ${keepalive} rsync -q /dev/null \
+                       ${UPLOAD}/${HOSTNAME}-$$/${chost}/${dte}/push-complete/
        fi
 }
 

Reply via email to