Handle inconsistencies in BS results file naming.
* Process files ending in .UTF8 or .MRC
* Treat file with name AUTH as new/modified authority records.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
# Avoid processing XLS and HTM files.
# All of the MARC files end in .UTF8.
- for my $member ($zip->membersMatching('.*\.UTF8')) {
+ for my $member ($zip->membersMatching('.*(\.UTF8|\.MRC)')) {
my $basename = basename($member->fileName());
handle_deleted_auths($marc_batch);
- } elsif ($basename =~ /CHG|NEW/) {
+ } elsif ($basename =~ /CHG|NEW|AUTH/) {
handle_modified_auths($marc_batch);