summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-25 12:00:34 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-25 12:00:34 +0200
commit622582511f3127660972abc6a4c6b5b47f7c514c (patch)
tree0b8ce9070d85a2d367ff1c4c95d3445050fcf79b
parenta696cb70203001db32d6555a61e5a2bef70ba5b1 (diff)
downloadjenkins.debian.net-622582511f3127660972abc6a4c6b5b47f7c514c.tar.xz
reproducible: make more robust and enable debug again
-rwxr-xr-xbin/reproducible_html_graphs.sh4
1 files 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 <mattia@mapreri.org>
# 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 "<tr><td><a href=\"https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=${FIELD:5};users=reproducible-builds@lists.alioth.debian.org&amp;archive=both\">${FIELD:5}</a></td><td>$VALUE</td>"
TOTAL=$VALUE
- let "TOPEN=TOPEN+VALUE"
+ let "TOPEN=TOPEN+VALUE" || TOPEN=0
else
write_page "<td>$VALUE</td>"
let "TOTAL=TOTAL+VALUE" || true # let FOO=0+0 returns error in bash...