summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-29 12:09:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-29 12:09:07 +0200
commitadc9c1d097142f58792a4d34fa09c148730e02d8 (patch)
treecf8d64cdb4196782a1df00ce15ed556b0b40f4b5
parent4f9fee9e7caf62da1bcaa201d013438732853df0 (diff)
downloadjenkins.debian.net-adc9c1d097142f58792a4d34fa09c148730e02d8.tar.xz
reproducible: silence warning if behaviour is expected
-rwxr-xr-xbin/reproducible_build.sh8
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