summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_rpms.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-13 01:21:58 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-13 01:21:58 +0100
commit53fc2827bd2163cf0bc5a3876e9fb9f51478d652 (patch)
tree43dce17876b7c5cc7e65ac4c45939c8717288b24 /bin/reproducible_html_rpms.sh
parente3a6410b72e9eabc942cd2d59882b131796f261e (diff)
downloadjenkins.debian.net-53fc2827bd2163cf0bc5a3876e9fb9f51478d652.tar.xz
reproducible fedora rpms/archlinux: compare percentage to what's been tested
Diffstat (limited to 'bin/reproducible_html_rpms.sh')
-rwxr-xr-xbin/reproducible_html_rpms.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index 60596dbf..8cef49d5 100755
--- a/bin/reproducible_html_rpms.sh
+++ b/bin/reproducible_html_rpms.sh
@@ -95,7 +95,7 @@ fi
echo " <tr>" >> $HTML_RPM_STATS
echo " <td>$RELEASE ($ARCH)</td><td>$NR_TESTED</td>" >> $HTML_RPM_STATS
for i in $NR_GOOD $NR_FTBR $NR_FTBFS $NR_DEPWAIT $NR_404 $NR_UNKNOWN ; do
- PERCENT_i=$(echo "scale=1 ; ($i*100/$TOTAL)" | bc)
+ PERCENT_i=$(echo "scale=1 ; ($i*100/$TESTED)" | bc)
if [ "$PERCENT_i" != "0" ] ; then
echo " <td>$i ($PERCENT_i%)</td>" >> $HTML_RPM_STATS
else