summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-04 11:28:58 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-04 11:28:58 +0200
commit64ce0015211b0eb8821840ba3655a03d0b5d89cd (patch)
tree2983c9a066c30e65a19bbcafc9c187b588833e36
parent4d147c5a210bdd519fc55b8fcba0e43aa052e4a4 (diff)
downloadjenkins.debian.net-64ce0015211b0eb8821840ba3655a03d0b5d89cd.tar.xz
reproducible: don't try to parse inexisting logs
-rwxr-xr-xbin/reproducible_build.sh3
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