[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: make more robust and enable debug again

Holger Levsen holger at moszumanska.debian.org
Mon May 25 10:00:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 622582511f3127660972abc6a4c6b5b47f7c514c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon May 25 12:00:34 2015 +0200

    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 6ddc5ad..da1e229 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -4,7 +4,7 @@
 #         © 2015 Mattia Rizzolo <mattia at 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 at lists.alioth.debian.org&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...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list