summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2016-05-31 22:09:58 +1000
committerJoshua Hesketh <josh@nitrotech.org>2016-05-31 22:09:58 +1000
commit7ef12b758020176fb3e13e5bb0154084b1456797 (patch)
treec6f030a562ac058f81408eecc83d7e60e8550276
parent2dc0881a3d51f4a01eedab8e8230c27400c560df (diff)
downloadturbo-hipster-7ef12b758020176fb3e13e5bb0154084b1456797.tar.gz
Write upper-constraints to working-dir
Change-Id: I09e6d10385479ecb23af6391c09b67d42dead201
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh4
1 files changed, 2 insertions, 2 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 cd8cd38..408d7f4 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
@@ -48,9 +48,9 @@ pip_requires() {
requires="requirements.txt"
fi
- wget http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$1
+ wget http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$1 -O $WORKING_DIR_PATH/upper-constraints.txt
echo "Install pip requirements from $requires"
- pip install -c upper-constraints.txt -r $requires
+ pip install -c $WORKING_DIR_PATH/upper-constraints.txt -r $requires
# Workaround for old python version on ubuntu-precise
ubuntu_version=$( lsb_release -r | awk '{ print $2 }' | sed 's/[.]//' )