diff options
-rw-r--r-- | evergreen/functions/venv_setup.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/evergreen/functions/venv_setup.sh b/evergreen/functions/venv_setup.sh index 3d935d87594..9b53989aa0e 100644 --- a/evergreen/functions/venv_setup.sh +++ b/evergreen/functions/venv_setup.sh @@ -74,10 +74,9 @@ activate_venv echo "Upgrading pip to 21.0.1" python -m pip --disable-pip-version-check install "pip==21.0.1" "wheel==0.37.0" || exit 1 -python -m pip --disable-pip-version-check install -r "$toolchain_txt" -q --log install.log -if [ $? != 0 ]; then +if ! python -m pip --disable-pip-version-check install -r "$toolchain_txt" -q --log install.log; then echo "Pip install error" - cat install.log + cat install.log || true exit 1 fi python -m pip freeze > pip-requirements.txt |