projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dfcf6fb
)
laziness idea from rhamby for the win
author
Jason Etheridge
<jason@equinoxinitiative.org>
Tue, 27 Aug 2019 21:51:22 +0000 (17:51 -0400)
committer
Jason Etheridge
<jason@equinoxinitiative.org>
Tue, 27 Aug 2019 21:51:22 +0000 (17:51 -0400)
Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
mig-bin/mig-stagebibs
patch
|
blob
|
history
diff --git
a/mig-bin/mig-stagebibs
b/mig-bin/mig-stagebibs
index
0fa2b10
..
36ff241
100755
(executable)
--- a/
mig-bin/mig-stagebibs
+++ b/
mig-bin/mig-stagebibs
@@
-61,6
+61,14
@@
my $batch;
binmode STDIN, ':utf8';
foreach my $arg (@ARGV) {
+ if ($arg eq '--auth') {
+ $base_table = 'authority_record_entry';
+ $stage_table = 'authority_record_entry_legacy';
+ }
+ if ($arg eq '--serial') {
+ $base_table = 'serial_record_entry';
+ $stage_table = 'serial_record_entry_legacy';
+ }
if ($arg eq '--file') {
$next_arg_is_file = 1;
next;