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:
parent
6e72252dbb
commit
d1dde8caac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user