From: Jason Etheridge Date: Tue, 27 Aug 2019 21:51:22 +0000 (-0400) Subject: laziness idea from rhamby for the win X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=14c4d03a9ca2feb9990a7bd02eb9498cdf0f4b25 laziness idea from rhamby for the win Signed-off-by: Jason Etheridge --- diff --git a/mig-bin/mig-stagebibs b/mig-bin/mig-stagebibs index 0fa2b10..36ff241 100755 --- 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;