fixing typo and moving grab file into else clause
[migration-tools.git] / mig-bin / mig-sql
index c218076..0f7d9e0 100755 (executable)
@@ -34,7 +34,8 @@ use Mig;
 pod2usage(-verbose => 2) if defined $ARGV[0] && $ARGV[0] eq '--help';
 
 my @MYARGV = (
-    'psql'
+     'psql'
+    ,'-vmigschema=' . $MIGSCHEMA
 );
 if (defined $BIBSTART) {
     push @MYARGV, '-vbibstart=' . $BIBSTART;