From a537de8c2cff3e95234da7436de8c3a7a71c27b8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 5 Oct 2015 15:09:11 +0200 Subject: reproducible: only gzip $RBUILDLOG if it exists --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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*... -- cgit v1.2.3-70-g09d2