From 622582511f3127660972abc6a4c6b5b47f7c514c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 25 May 2015 12:00:34 +0200 Subject: reproducible: make more robust and enable debug again --- bin/reproducible_html_graphs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 6ddc5adc..da1e2290 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -4,7 +4,7 @@ # © 2015 Mattia Rizzolo # released under the GPLv=2 -DEBUG=false +DEBUG=true . /srv/jenkins/bin/common-functions.sh common_init "$@" @@ -359,7 +359,7 @@ write_usertag_table() { elif [ $((COUNT%2)) -eq 0 ] ; then write_page "${FIELD:5}$VALUE" TOTAL=$VALUE - let "TOPEN=TOPEN+VALUE" + let "TOPEN=TOPEN+VALUE" || TOPEN=0 else write_page "$VALUE" let "TOTAL=TOTAL+VALUE" || true # let FOO=0+0 returns error in bash... -- cgit v1.2.3-70-g09d2