aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch
diff options
context:
space:
mode:
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-xsbosrcarch11
1 files changed, 10 insertions, 1 deletions
diff --git a/sbosrcarch b/sbosrcarch
index d073651..98a0c1f 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -1656,11 +1656,20 @@ sub check_bymd5_wanted {
sub check_info_wanted {
return unless /\.info/;
s,\./,,;
- my ($category, $prgnam, undef) = split /\//;
+
+ my ($category, $prgnam, $file) = split /\//;
+
if(blacklisted("$category/$prgnam")) {
warn " $category/$prgnam blacklisted, skipping\n";
return;
}
+
+ # 20180604 bkw: games/mrboom has a file named "mrboom_libretro.info"
+ # which isn't an SBo info file. In general it's allowed for builds to
+ # include other files with .info filenames, so this bit is to make
+ # sure we're only looking at the real prgnam.info file:
+ return unless $file eq ($prgnam . ".info");
+
my $dls = parse_info($_);
$totalfiles += keys %$dls;
$infofilecount{"$category/$prgnam"} += keys %$dls;