mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
.github: set specific version of pyenv so pyenv upstream doesn't break our CI
This commit is contained in:
parent
6381297215
commit
f790a66781
@ -109,6 +109,10 @@ if maybe_prompt_user "Install python using pyenv [N/y]?" ; then
|
||||
echo "Installing pyenv"
|
||||
curl https://pyenv.run | bash
|
||||
|
||||
pushd $HOME/.pyenv
|
||||
git fetch --tags
|
||||
git checkout v2.0.4
|
||||
popd
|
||||
exportline="export PYENV_ROOT=\$HOME/.pyenv"
|
||||
echo $exportline >> ~/$SHELL_LOGIN
|
||||
exportline="export PATH=\$PYENV_ROOT/bin:\$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user