diff --git a/build.py b/build.py index 166150d89a..4cf9a91752 100755 --- a/build.py +++ b/build.py @@ -1560,7 +1560,8 @@ 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 PYTHON_BIN_PATH=${{PYBIN}}/python${{PYVER}} PATH=${{PYBIN}}:${{PATH}} +ENV PYBIN=${{PYTHONPATH}}/bin +ENV PYTHON_BIN_PATH=${{PYBIN}}/python${{PYVER}} PATH=${{PYBIN}}:${{PATH}} """.format( version )