summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-05 15:36:51 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-05 15:36:51 +0100
commit2a1240791bdbb1b8a671f965e47a30f3eefa26c2 (patch)
tree82685a5180d1fa1db4480e305e1b36cb1e387bed
parentff99598e2b87a2ddd309171954969a9ca2ee5a9e (diff)
downloadjenkins.debian.net-2a1240791bdbb1b8a671f965e47a30f3eefa26c2.tar.xz
reproducible: fix type error and shorten text
-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 fa8e20c3..34fb219a 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