diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2022-09-29 15:42:15 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-26 22:38:49 +0000 |
commit | 5b1d0b1cee1e5592d759a12fa00335ededcdf707 (patch) | |
tree | 49f1e5c861dceaeab0fb5346fadd59d61ce71ea1 /evergreen | |
parent | 7e5c61496b0e8c8f04f461a3b2418f5abcc724d4 (diff) | |
download | mongo-5b1d0b1cee1e5592d759a12fa00335ededcdf707.tar.gz |
SERVER-66525 Fix errexit prevents printing pip log
(cherry picked from commit d1dde8caac01621a11ec5f1e768e172918c5421c)
Diffstat (limited to 'evergreen')
-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 0669026da3e..a0b7182a6a6 100644 --- a/evergreen/functions/venv_setup.sh +++ b/evergreen/functions/venv_setup.sh @@ -47,10 +47,9 @@ if [ "$(uname -m)" = "arm64" ] && [ "$(uname)" == "Darwin" ]; then fi 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 |