From 3ab7b9f2c46dc4184d415c3e47046eee152dc07f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 22 Nov 2017 12:15:59 +0000 Subject: reproducible Arch Linux: lets entirely ignore rsync errors Signed-off-by: Holger Levsen --- bin/reproducible_build_archlinux_pkg.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh index 967232a2..8ba705cf 100755 --- a/bin/reproducible_build_archlinux_pkg.sh +++ b/bin/reproducible_build_archlinux_pkg.sh @@ -253,7 +253,7 @@ remote_build() { # FIXME: atm this is never reached… #cleanup_all #handle_remote_error "with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY" - echo "remote build failed with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY" + echo "Warning: remote build failed with exit code $RESULT from $NODE for build #$BUILDNR for ${SRCPACKAGE} from $REPOSITORY." fi fi rsync -e "ssh -o 'Batchmode = yes' -p $PORT" -r $FQDN:$TMPDIR/b$BUILDNR $TMPDIR/ @@ -264,7 +264,8 @@ remote_build() { rsync -e "ssh -o 'Batchmode = yes' -p $PORT" -r $FQDN:$TMPDIR/b$BUILDNR $TMPDIR/ RESULT=$? if [ $RESULT -ne 0 ] ; then - handle_remote_error "when rsyncing remote build #$BUILDNR results from $NODE" + #handle_remote_error "when rsyncing remote build #$BUILDNR results from $NODE" + echo "Warning: error rsyncing remote build #$BUILDNR results from $NODE." fi fi ls -lR $TMPDIR -- cgit v1.2.3-54-g00ecf