From d7c992f0d4691e9f383e1e7df09c0620c11b5e8e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 10 Sep 2015 12:48:27 +0200 Subject: reproducible: handle wget network problems more gracefully --- bin/reproducible_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 3dba3aa8..a126b728 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -407,7 +407,7 @@ get_source_package() { RESULT=$? else # remote build, no need to download the full source package... - schroot --directory $TMPDIR -c source:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source --print-uris source ${SRCPACKAGE} | grep \.dsc|cut -d " " -f1|xargs wget + schroot --directory $TMPDIR -c source:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source --print-uris source ${SRCPACKAGE} | grep \.dsc|cut -d " " -f1|xargs wget || true RESULT=$? fi if [ $RESULT != 0 ] || [ "$(ls ${SRCPACKAGE}_*.dsc 2> /dev/null)" = "" ] ; then @@ -422,7 +422,7 @@ get_source_package() { RESULT=$? else # remote build, no need to download the full source package... - schroot --directory $TMPDIR -c source:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source --print-uris source ${SRCPACKAGE} | grep \.dsc|cut -d " " -f1|xargs wget + schroot --directory $TMPDIR -c source:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source --print-uris source ${SRCPACKAGE} | grep \.dsc|cut -d " " -f1|xargs wget || true RESULT=$? fi fi -- cgit v1.2.3-70-g09d2