aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-05-22 01:30:47 -0400
committerB. Watson <yalhcru@gmail.com>2018-05-22 01:30:47 -0400
commit3fe17ce4a0b9a2c958f471c3a3ab0c5595d088b1 (patch)
treeea8bd61300e40c325e03d11cf11febd4cf30190b /sbosrcarch
parent8d0ef7a8eda527a881aa00599d8e2707a1002906 (diff)
downloadsbostuff-3fe17ce4a0b9a2c958f471c3a3ab0c5595d088b1.tar.gz
Fix file coverage stats for check/status commands (part deux)
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-xsbosrcarch2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbosrcarch b/sbosrcarch
index e5a68f0..6b252c2 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -1503,6 +1503,7 @@ sub check_byname_wanted {
if(!defined($filename) || defined($extra)) {
print "misplaced file (not in a category/prgnam dir): $_\n";
+ $filecount--;
return;
}
@@ -1511,6 +1512,7 @@ sub check_byname_wanted {
my $info = join("/", $sbogitdir, $category, $prgnam, $prgnam . ".info");
if(!-f $info) {
print "$shortname extraneous: no info file for $prgnam/$category\n";
+ $filecount--;
return;
}