Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Use the correct pyenv path in Kokoro macOS
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 622275210
  • Loading branch information
morambro authored and copybara-github committed Apr 5, 2024
1 parent 4738fc3 commit eb6f3c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kokoro/testutils/install_python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ install_python3() {
python_version="${1:-${DEFAULT_PYTHON_VERSION}}"
# Update the list of Python versions.
(
cd /home/kbuilder/.pyenv/plugins/python-build/../..
# The macOS image exports a PYENV_ROOT env variable.
cd "${PYENV_ROOT:-"${HOME}/.pyenv"}"
git pull
)
# Install Python.
Expand Down

0 comments on commit eb6f3c9

Please sign in to comment.