Fix sphinx-docs job for stable branch
build-openstack-sphinx-docs jobs fails on stable branches due to the new pip version 10 introduces some previously Warning as Error: in case of calling "pip install" without any package name, the command fails. tox_install.sh is called during docs job without any package passed to pip. Change-Id: I1c9efa640301427dc0497897eab90fd391baa29c Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
e0b516ca36
commit
45b2cde3b3
|
@ -55,5 +55,10 @@ fi
|
|||
# install will be constrained and we need to unconstrain it.
|
||||
edit-constraints $localfile -- $LIB_NAME "-e $LIB_LOCATION"
|
||||
|
||||
if [ -z "$@" ]; then
|
||||
echo "No packages to be installed."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
$install_cmd -U $*
|
||||
exit $?
|
||||
|
|
Loading…
Reference in New Issue