0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-66525 Fix errexit prevents printing pip log

This commit is contained in:
Ryan Egesdahl 2022-09-29 15:42:15 +00:00 committed by Evergreen Agent
parent 6e72252dbb
commit d1dde8caac

View File

@ -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