projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
aa6f2f4
)
don't crash if record is dumped because it's missing its -ot
author
Galen Charlton
<gmc@esilibrary.com>
Wed, 1 Aug 2012 18:49:34 +0000 (14:49 -0400)
committer
Galen Charlton
<gmc@esilibrary.com>
Wed, 1 Aug 2012 18:49:34 +0000 (14:49 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
marc_cleanup
patch
|
blob
|
history
diff --git
a/marc_cleanup
b/marc_cleanup
index
4d7354e
..
c26525c
100755
(executable)
--- a/
marc_cleanup
+++ b/
marc_cleanup
@@
-93,7
+93,7
@@
while ( buildrecord() ) {
until ($ptr == $#record) {
# get datafield/tag data if we have it
$rc = stow_record_data() if ($c->{'renumber-from'} and $c->{'original-tag'});
- return $rc if $rc;
+ next if $rc;
# naked ampersands
if ($record[$ptr] =~ /&/ && $record[$ptr] !~ /&\w+?;/)