diff --git a/build.py b/build.py index 4cf9a91752..b14738193f 100755 --- a/build.py +++ b/build.py @@ -1560,7 +1560,7 @@ def change_default_python_version_rhel(version): # pip installed will not be found during testing. ENV PYVER={} PYTHONPATH=/opt/python/v RUN ln -sf ${{PYENV_ROOT}}/versions/${{PYVER}}* ${{PYTHONPATH}} -ENV PYBIN=${{PYTHONPATH}}/bin +ENV PYBIN=${{PYTHONPATH}}/bin ENV PYTHON_BIN_PATH=${{PYBIN}}/python${{PYVER}} PATH=${{PYBIN}}:${{PATH}} """.format( version