From 2f7824f9763892225fefa9a8141f631f7a6a4bdf Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 6 Apr 2015 15:39:37 +0200 Subject: reproducible: build: refactor: call_debbindiff(): call handle_ftbr() inside the case --- bin/reproducible_build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 7472c559..b1020b9f 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -200,20 +200,21 @@ call_debbindiff() { rm -f $DBDCHROOT_READLOCK $TMPLOG echo | tee -a ${RBUILDLOG} case $RESULT in - 124) - dbd_timeout - ;; 0) handle_reproducible 1) DEBBINDIFFOUT="$DBDVERSION found issues, please investigate $REPRODUCIBLE_URL/dbd/${SUITE}/${ARCH}/${DBDREPORT}" + handle_ftbr ;; 2) DEBBINDIFFOUT="$DBDVERSION had trouble comparing the two builds. Please investigate $REPRODUCIBLE_URL/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log" SAVE_ARTIFACTS=3 + handle_ftbr + ;; + 124) + dbd_timeout ;; esac - handle_ftbr print_out_duration } -- cgit v1.2.3-70-g09d2