From adc9c1d097142f58792a4d34fa09c148730e02d8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 29 Aug 2015 12:09:07 +0200 Subject: reproducible: silence warning if behaviour is expected --- bin/reproducible_build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index aaa75936..9fb5e434 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -159,14 +159,14 @@ diff_copy_buildlogs() { if [ ${PIPESTATUS[0]} -eq 0 ] ; then echo "The two build logs are identical! \o/" | tee -a $DIFF fi - echo -e "\nCompressing the logs..." + echo -e "\nCompressing the 2nd log..." gzip -9vn $DIFF gzip -9cvn b2/build.log > $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build2.log.gz chmod 644 $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build2.log.gz - else - echo "Warning: No second build log" | tee -a $RBUILDLOG - echo "Compressing the log..." + elif [ $FTBFS -eq 0 ] ; then + echo "Warning: No second build log, what happened?" | tee -a $RBUILDLOG fi + echo "Compressing the 1st log..." gzip -9cvn b1/build.log > $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build1.log.gz chmod 644 $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build1.log.gz else -- cgit v1.2.3-70-g09d2