From 73b55a1188254cdfb1f5c8257e70a739266e1fbc Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 6 Apr 2015 19:09:14 +0200 Subject: reproducible: build: refactor: specific complains when dbd says it's reproducible but 1) there is .buildinfo 2) there is .debbindiff.html --- bin/reproducible_build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index a2f3bac2..29953733 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -157,8 +157,11 @@ handle_reproducible() { echo "${SRCPACKAGE} from $SUITE built successfully and reproducibly on ${ARCH}." | tee -a ${RBUILDLOG} calculate_build_duration update_db_and_html "reproducible" - else - echo "Debbindiff says the build is reproducible, but either there is a debbindiff file or there is no .buildinfo. Please investigate" | tee -a $RBUILDLOG + elif [ -f ./$DBDREPORT ] ; then + echo "Debbindiff says the build is reproducible, but there is a debbindiff file. Please investigate" | tee -a $RBUILDLOG + handle_ftbr + elif [ ! -f b1/$BUILDINFO ] ; then + echo "Debbindiff says the build is reproducible, but there is no .buildinfo file. Please investigate" | tee -a $RBUILDLOG handle_ftbr fi } -- cgit v1.2.3-70-g09d2