From 672c028da39c77fdd84fb00e97a2203014026ebf Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 6 Jan 2017 10:45:45 -0600 Subject: [PATCH] Fix pip check in run_tests.sh The logic in the pip check was backwards and this patch fixes it. Change-Id: Idecfaee991f87f5bfd7a47233b56a37158e816ed --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index acf07437..44b0404d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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