From 84a4b6433951871a7917a7978b0c502ab2451bcc Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Wed, 15 Oct 2014 00:38:49 +1100 Subject: Fix typo in migrations Change-Id: I8da5393fb99a46480cc3ca9c387650b1e8835dd3 --- turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'turbo_hipster') diff --git a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh index 7ef2bd3..45f3687 100755 --- a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh +++ b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh @@ -21,7 +21,7 @@ # $4 is the nova db user # $5 is the nova db password # $6 is the nova db name -# $7 is the path to the dataset to test against +# $7 is the path to the seed dataset to test against # $8 is the logging.conf for openstack # $9 is the pip cache dir @@ -76,7 +76,7 @@ EOF # Log the migrations present echo "Migrations present:" - ls $GIR_REPO_PATH/nova/db/sqlalchemy/migrate_repo/versions/*.py | sed 's/.*\///' | egrep "^[0-9]+_" + ls $GIT_REPO_PATH/nova/db/sqlalchemy/migrate_repo/versions/*.py | sed 's/.*\///' | egrep "^[0-9]+_" # Flush innodb's caches echo "Restarting mysql" @@ -90,7 +90,7 @@ EOF if [ "%$2%" == "%%" ] then - end_version=`ls $GIR_REPO_PATH/nova/db/sqlalchemy/migrate_repo/versions/*.py | sed 's/.*\///' | egrep "^[0-9]+_" | tail -1 | cut -f 1 -d "_"` + end_version=`ls $GIT_REPO_PATH/nova/db/sqlalchemy/migrate_repo/versions/*.py | sed 's/.*\///' | egrep "^[0-9]+_" | tail -1 | cut -f 1 -d "_"` else end_version=$2 fi -- cgit v1.2.1