summaryrefslogtreecommitdiff
path: root/turbo_hipster
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2014-10-15 00:38:49 +1100
committerJoshua Hesketh <josh@nitrotech.org>2014-10-15 00:38:49 +1100
commit84a4b6433951871a7917a7978b0c502ab2451bcc (patch)
tree59f9f4f26529cc2724f5fc195c3daa5d4e75e8a7 /turbo_hipster
parent880a792e1415a3679029cb06049ca70d364237bd (diff)
downloadturbo-hipster-84a4b6433951871a7917a7978b0c502ab2451bcc.tar.gz
Fix typo in migrations
Change-Id: I8da5393fb99a46480cc3ca9c387650b1e8835dd3
Diffstat (limited to 'turbo_hipster')
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh6
1 files changed, 3 insertions, 3 deletions
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