Fix tox_install.sh script

currently it actually hardcodes the horizon branch to install as
'master' with no way of overriding it via env var as it was intended.

Change-Id: Ia18353387b00e2807d69dcbeca08457bd662d26e
(cherry picked from commit 8bf9fbe04b)
This commit is contained in:
Pavlo Shchelokovskyy 2018-01-10 15:23:12 +02:00
parent 19bfe33d24
commit a93165f6dc
1 changed files with 1 additions and 2 deletions

View File

@ -14,12 +14,11 @@
# pip install {opts} {packages}
ZUUL_CLONER=/usr/zuul-env/bin/zuul-cloner
BRANCH_NAME=master
GIT_BASE=${GIT_BASE:-https://git.openstack.org/}
install_project() {
local project=$1
local branch=${2:-$BRANCH_NAME}
local branch=${2:-${BRANCH_NAME:-master}}
local module_name=${project//-/_}
set +e