[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fix braino

Holger Levsen holger at moszumanska.debian.org
Thu May 14 10:21:05 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 185cee6804b92d51ba1418828a0ab4a7065a9eba
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu May 14 12:20:45 2015 +0200

    fix braino
---
 bin/reproducible_html_graphs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 4b6ecef..94da97f 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -337,7 +337,7 @@ create_png_from_table() {
 #
 write_usertag_table() {
 	RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT * from ${TABLE[3]} WHERE datum = \"$DATE\"")
-	if [ -z "$RESULTS" ] ; then
+	if [ ! -z "$RESULT" ] ; then
 		COUNT=0
 		TOPEN=0 ; TDONE=0 ; TTOTAL=0
 		for FIELD in $(echo ${FIELDS[3]} | tr -d ,) ; do

-- 
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