projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7754bb8
)
Merge branch 'master' of git.esilibrary.com:migration-tools to remove unlogged statements
author
Rogan Hamby
<rhamby@esilibrary.com>
Tue, 14 May 2019 11:58:08 +0000 (07:58 -0400)
committer
Rogan Hamby
<rhamby@esilibrary.com>
Tue, 14 May 2019 11:58:08 +0000 (07:58 -0400)
mig-bin/mig-stagebibs
patch
|
blob
|
history
diff --git
a/mig-bin/mig-stagebibs
b/mig-bin/mig-stagebibs
index
fb76b0c
..
0c9bdfd
100755
(executable)
--- 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++;