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:
parent
c86f94664e
commit
672c028da3
@ -18,7 +18,7 @@ set -xeuo pipefail
|
|||||||
FUNCTIONAL_TEST=${FUNCTIONAL_TEST:-true}
|
FUNCTIONAL_TEST=${FUNCTIONAL_TEST:-true}
|
||||||
|
|
||||||
# Install pip.
|
# Install pip.
|
||||||
if which pip; then
|
if ! which pip; then
|
||||||
curl --silent --show-error --retry 5 \
|
curl --silent --show-error --retry 5 \
|
||||||
https://bootstrap.pypa.io/get-pip.py | sudo python2.7
|
https://bootstrap.pypa.io/get-pip.py | sudo python2.7
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user