Fix pip check in run_tests.sh

The logic in the pip check was backwards and this patch fixes it.

Change-Id: I74679537fd21055a928213c478fc74b77285253e
This commit is contained in:
Major Hayden 2017-01-06 10:44:54 -06:00
parent 55f6e84a4c
commit c533438e65
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ set -xeuo pipefail
FUNCTIONAL_TEST=${FUNCTIONAL_TEST:-true}
# Install pip.
if which pip; then
if ! which pip; then
curl --silent --show-error --retry 5 \
https://bootstrap.pypa.io/get-pip.py | sudo python2.7
fi