diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-04 04:36:01 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-06-04 04:36:01 -0400 |
commit | 90c34c45de0db4511c280ffbabb8ff21d2a08239 (patch) | |
tree | dd5f2dd44d036d3abd8bf79094dd5c7612ec8d39 /sbosrcarch | |
parent | 91532c42ff36d4ef0efc0b8451675399a9f04813 (diff) | |
download | sbostuff-90c34c45de0db4511c280ffbabb8ff21d2a08239.tar.gz |
sbosrcarch purge_mode fix, wip
Diffstat (limited to 'sbosrcarch')
-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; |