Don't let tox_install.sh error if there is nothing to do
If the package list is empty just exit successfully. Change-Id: I1ab896cd99730ab9246cf14e440c25cfd6280df0
This commit is contained in:
parent
27dfd49978
commit
50f0ded913
@ -26,5 +26,10 @@ pip install -c"$localfile" openstack-requirements
|
||||
# install will be constrained and we need to unconstrain it.
|
||||
edit-constraints "$localfile" -- "$CLIENT_NAME"
|
||||
|
||||
if [ -z "$@" ]; then
|
||||
echo "No packages to be installed."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
pip install -c"$localfile" -U "$@"
|
||||
exit $?
|
||||
|
Loading…
x
Reference in New Issue
Block a user