aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-04 04:56:01 -0400
committerB. Watson <yalhcru@gmail.com>2018-06-04 04:56:01 -0400
commit2f72e25c492be3c9c9fc5d6f099013e3a3ae1f7c (patch)
treed11aa59c883c5761f86e75700b954a07f866c0ae /sbosrcarch
parentc1503be8a2dc7db3fce9c0c4b80472316426aafd (diff)
downloadsbostuff-2f72e25c492be3c9c9fc5d6f099013e3a3ae1f7c.tar.gz
sbosrcarch purge_mode fix, wip
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-xsbosrcarch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbosrcarch b/sbosrcarch
index 98a0c1f..4a2bd25 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -1719,10 +1719,10 @@ sub check_mode {
my $totalbuildcount = keys %infofilecount;
my $missingbuildcount = @missingfilebuilds;
my $completebuildcount = $totalbuildcount - $missingbuildcount;
- my $coverage = sprintf("%.1f", ($completebuildcount * 100 / $totalbuildcount));
+ my $coverage = sprintf("%.2f", ($completebuildcount * 100 / $totalbuildcount));
my $filemegs = sprintf("%.1fMB", $filebytes / (1024 * 1024));
my $missingfiles = $totalfiles - $filecount;
- my $filecoverage = sprintf("%.1f", $filecount * 100 / $totalfiles);
+ my $filecoverage = sprintf("%.2f", $filecount * 100 / $totalfiles);
print <<EOF;
---