From: Rogan Hamby Date: Tue, 14 May 2019 11:58:08 +0000 (-0400) Subject: Merge branch 'master' of git.esilibrary.com:migration-tools to remove unlogged statements X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=456196b01c4d3bcffcb4bc88375235fc381a17a6;hp=7754bb8efebb2ffda7406f2d0d736b6377ba589b Merge branch 'master' of git.esilibrary.com:migration-tools to remove unlogged statements --- diff --git a/mig-bin/mig-stagebibs b/mig-bin/mig-stagebibs index fb76b0c..0c9bdfd 100755 --- a/mig-bin/mig-stagebibs +++ b/mig-bin/mig-stagebibs @@ -95,7 +95,7 @@ while(my $line = <$xml>) { if ($line =~ /^<\/?collection/) { next; } chomp $line; $record = $record . $line; - if ($line =~ /^<\/record/) { + if ($line =~ /<\/record>$/) { stage_record($dbh,$record,$source); $record = ''; $i++;