tweak to put the output into the CWD
[migration-tools.git] / mig
diff --git a/mig b/mig
index 05d0196..3d53a6c 100755 (executable)
--- a/mig
+++ b/mig
@@ -67,6 +67,8 @@ Using B<mig> should go something like this:
 
 =item mig gsheet --pull foo_tab_name OR --push foo_pg_table_name 
 
+=item mig stagebibs --file foo.xml 
+
 =back
 
 =head1 COMMANDS
@@ -320,7 +322,7 @@ switch($ARGV[0]) {
 sub standard_invocation {
     my $cmd = shift;
 
-    Mig::die_if_no_env_migschema();
+    if ($cmd ne 'env') { Mig::die_if_no_env_migschema(); }
     if (-e $mig_bin . "mig-$cmd") {
         system( $mig_bin . "mig-$cmd", @_ );
     } else {