Fix pip check in run_tests.sh

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

Change-Id: Idecfaee991f87f5bfd7a47233b56a37158e816ed
This commit is contained in:
Major Hayden 2017-01-06 10:45:45 -06:00
parent c86f94664e
commit 672c028da3
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