diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-29 12:09:07 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-29 12:09:07 +0200 |
commit | adc9c1d097142f58792a4d34fa09c148730e02d8 (patch) | |
tree | cf8d64cdb4196782a1df00ce15ed556b0b40f4b5 | |
parent | 4f9fee9e7caf62da1bcaa201d013438732853df0 (diff) | |
download | jenkins.debian.net-adc9c1d097142f58792a4d34fa09c148730e02d8.tar.xz |
reproducible: silence warning if behaviour is expected
-rwxr-xr-x | bin/reproducible_build.sh | 8 |
1 files 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 |