From 90c34c45de0db4511c280ffbabb8ff21d2a08239 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 4 Jun 2018 04:36:01 -0400 Subject: sbosrcarch purge_mode fix, wip --- sbosrcarch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sbosrcarch') 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; -- cgit v1.2.3