summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-05 15:09:11 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-05 15:09:11 +0200
commita537de8c2cff3e95234da7436de8c3a7a71c27b8 (patch)
tree42815515dcca8c226c95aebc3691e32a5df6d35f /bin
parent4d8b8387fd850c006834e134bfc1a9360c964f85 (diff)
downloadjenkins.debian.net-a537de8c2cff3e95234da7436de8c3a7a71c27b8.tar.xz
reproducible: only gzip $RBUILDLOG if it exists
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 02f97abd..3d97e3dd 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -79,7 +79,7 @@ cleanup_all() {
elif [ ! -z "$NOTIFY" ] && [ $SAVE_ARTIFACTS -eq 0 ] ; then
irc_message "$REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE done: $STATUS"
fi
- gzip -9fvn $RBUILDLOG
+ [ ! -f $RBUILDLOG ] || gzip -9fvn $RBUILDLOG
if [ "$MODE" = "master" ] ; then
# XXX quite ugly: this is just needed to update the sizes of the
# compressed files in the html. It's cheap and quite safe so, *shrugs*...