diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-04 04:56:01 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-06-04 04:56:01 -0400 |
commit | 2f72e25c492be3c9c9fc5d6f099013e3a3ae1f7c (patch) | |
tree | d11aa59c883c5761f86e75700b954a07f866c0ae /sbosrcarch | |
parent | c1503be8a2dc7db3fce9c0c4b80472316426aafd (diff) | |
download | sbostuff-2f72e25c492be3c9c9fc5d6f099013e3a3ae1f7c.tar.gz |
sbosrcarch purge_mode fix, wip
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-x | sbosrcarch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; --- |