[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: fix type error and shorten text

Holger Levsen holger at moszumanska.debian.org
Thu Mar 5 14:43:00 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 2a1240791bdbb1b8a671f965e47a30f3eefa26c2
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 5 15:36:51 2015 +0100

    reproducible: fix type error and shorten text
---
 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 fa8e20c..34fb219 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -282,8 +282,8 @@ VIEW=suite_stats
 PAGE=index_${VIEW}.html
 echo "$(date) - starting to write $PAGE page."
 write_page_header $VIEW "Overview of various statistics about reproducible builds for $SUITE"
-if [ $PERCENT_TOTAL -lt 98 ] ; then
-	write_page "<p>$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE currently. Out of these, $COUNT_GOOD packages ($PERCENT_GOOD%) <a href=\"https://wiki.debian.org/ReproducibleBuilds\">could be built reproducible!</a>"
+if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then
+	write_page "<p>$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE currently.</p>"
 fi
 write_page "<p>"
 set_icon reproducible

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