Skip to content

Commit e4b9714

Browse files
fpetrini15mc-nv
andauthored
commit suggestion
Co-authored-by: Misha Chornyi <[email protected]>
1 parent 0d1ce7b commit e4b9714

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,9 +1560,7 @@ def change_default_python_version_rhel(version):
15601560
# pip installed will not be found during testing.
15611561
ENV PYVER={} PYTHONPATH=/opt/python/v
15621562
RUN ln -sf ${{PYENV_ROOT}}/versions/${{PYVER}}* ${{PYTHONPATH}}
1563-
ENV PYBIN ${{PYTHONPATH}}/bin
1564-
ENV PYTHON_BIN_PATH ${{PYBIN}}/python${{PYVER}}
1565-
ENV PATH ${{PYBIN}}:${{PATH}}
1563+
ENV PYBIN=${{PYTHONPATH}}/bin PYTHON_BIN_PATH=${{PYBIN}}/python${{PYVER}} PATH=${{PYBIN}}:${{PATH}}
15661564
""".format(
15671565
version
15681566
)

0 commit comments

Comments
 (0)