diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-04 11:28:58 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-04 11:28:58 +0200 |
commit | 64ce0015211b0eb8821840ba3655a03d0b5d89cd (patch) | |
tree | 2983c9a066c30e65a19bbcafc9c187b588833e36 | |
parent | 4d147c5a210bdd519fc55b8fcba0e43aa052e4a4 (diff) | |
download | jenkins.debian.net-64ce0015211b0eb8821840ba3655a03d0b5d89cd.tar.xz |
reproducible: don't try to parse inexisting logs
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index f89346dc..da16cab4 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -198,6 +198,9 @@ handle_ftbfs() { local BUILD echo "${SRCPACKAGE} failed to build from source." for BUILD in "1" "2"; do + if [ ! -f "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ] ; then + continue + fi if zgrep -F "E: pbuilder-satisfydepends failed." "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ; then handle_depwait return |