Tools: fix CI error while building for macos

This commit is contained in:
bugobliterator 2023-01-07 23:42:51 +11:00 committed by Randy Mackay
parent bd9f3ef696
commit 0b63b679c4
1 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then
pushd $HOME/.pyenv pushd $HOME/.pyenv
git fetch --tags git fetch --tags
git checkout v2.0.4 git checkout v2.3.9
popd popd
exportline="export PYENV_ROOT=\$HOME/.pyenv" exportline="export PYENV_ROOT=\$HOME/.pyenv"
echo $exportline >> ~/$SHELL_LOGIN echo $exportline >> ~/$SHELL_LOGIN
@ -132,10 +132,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then
} }
echo "pyenv installed" echo "pyenv installed"
{ {
$(pyenv global 3.9.4) $(pyenv global 3.10.4)
} || { } || {
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.9.4 env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.10.4
pyenv global 3.9.4 pyenv global 3.10.4
} }
fi fi