From fa772bcc79301ceb576bf0addb86a59a794c5f7d Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 22 May 2019 13:58:25 -0400 Subject: [PATCH] simplify git path --- mig-bin/mig-env | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mig-bin/mig-env b/mig-bin/mig-env index ed066b1..dceec4f 100755 --- a/mig-bin/mig-env +++ b/mig-bin/mig-env @@ -57,7 +57,7 @@ The name of the actual database containing the migration schema. This script may also setup a symlink from a specified Git repository to a scripts/ directory within the migration work directory. The default for this is -~/git/migration-work/past_migrations/MIGSCHEMA --> MIGWORKDIR/scripts +~/git/migration-work/MIGSCHEMA --> MIGWORKDIR/scripts It may also create the migration work directory if necessary. @@ -186,7 +186,7 @@ sub mig_env_create { $MIGWORKDIR = $migworkdir_default; } $MIGBASEGITDIR = "$HOME/git/migration-work/" unless $MIGBASEGITDIR; - my $miggitdir_default = "${MIGBASEGITDIR}past_migrations/$migration_schema/"; + my $miggitdir_default = "${MIGBASEGITDIR}/$migration_schema/"; print "git repo for migration-specific scripts (default $miggitdir_default): "; my $MIGGITDIR = ; chomp $MIGGITDIR; -- 1.7.2.5