From 53fc2827bd2163cf0bc5a3876e9fb9f51478d652 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 13 Dec 2015 01:21:58 +0100 Subject: reproducible fedora rpms/archlinux: compare percentage to what's been tested --- bin/reproducible_html_rpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_html_rpms.sh') 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 " " >> $HTML_RPM_STATS echo " $RELEASE ($ARCH)$NR_TESTED" >> $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 " $i ($PERCENT_i%)" >> $HTML_RPM_STATS else -- cgit v1.2.3-54-g00ecf