aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-24 23:42:17 -0400
committerB. Watson <yalhcru@gmail.com>2018-06-24 23:42:17 -0400
commita3d0081d2236b83428923da2aee03124ecde552b (patch)
treeb1e2e9413337517cf7764de6cbcd0baa7042c382 /sbosrcarch
parenta0e187b4042a4fb737189f873e8de3ba049ecd0e (diff)
downloadsbostuff-a3d0081d2236b83428923da2aee03124ecde552b.tar.gz
sbosrcarch: wip
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-xsbosrcarch3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbosrcarch b/sbosrcarch
index d5dcfb5..0a1c88d 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -399,6 +399,7 @@ our @blacklist = ();
our $quickcheck; # used by check_mode() and its *wanted helpers
our $verbosecheck;
our $extraneous_byname = 0;
+our $extraneous_bymd5 = 0;
our %infofilecount;
our %parsedinfo;
@@ -1670,6 +1671,7 @@ sub check_bymd5_wanted {
$allmd5sums{$md5dir} = 0; # don't count twice
} else {
print "$_ extraneous: not mentioned in any .info file\n" if $verbosecheck;
+ $extraneous_bymd5++;
}
}
@@ -1768,6 +1770,7 @@ EOF
Total source files: $md5_totalfiles
Archived files: $md5_filecount
Missing files: $md5_missingfiles
+Extraneous files: $extraneous_bymd5
File coverage: $md5_filecoverage%
EOF