don't let tox_install.sh error if there is nothing to do
If we end up with an empty package list, return without erroring. Change-Id: Id66aaf4bcb8c40ab720303a3ca92a46f92642369 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
8c1fccf72e
commit
7c1f4c2847
@ -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…
Reference in New Issue
Block a user