typoes
authorJason Etheridge <jason@equinoxinitiative.org>
Tue, 13 Aug 2019 03:27:33 +0000 (23:27 -0400)
committerJason Etheridge <jason@equinoxinitiative.org>
Tue, 13 Aug 2019 03:27:33 +0000 (23:27 -0400)
Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>

mig-bin/mig-stagebibs

index 88564df..1801f02 100755 (executable)
@@ -80,8 +80,8 @@ foreach my $arg (@ARGV) {
 
 my $bre_test = check_for_table($dbh,'biblio_record_entry');
 my $bre_legacy_test = check_for_table($dbh,'biblio_record_entry_legacy');
-if ($bre_test == 0 and $bre_legacy_test == 0 ) { create_child_bre($dbh); rename_child_bre($db); }
-if ($bre_test == 1 and $bre_legacy_test == 0 ) { rename_child_bre($db); }
+if ($bre_test == 0 and $bre_legacy_test == 0 ) { create_child_bre($dbh); rename_child_bre($dbh); }
+if ($bre_test == 1 and $bre_legacy_test == 0 ) { rename_child_bre($dbh); }
 
 my $xmig_test = check_for_column($dbh,'biblio_record_entry','x_migrate');
 if ($xmig_test == 0) { add_column($dbh,'biblio_record_entry','x_migrate','BOOLEAN DEFAULT TRUE'); }