diff options
-rwxr-xr-x | sbosrcarch | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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; |