Skip to content

Commit 1787ef7

Browse files
committed
Avoid change PATH during bash command
1 parent 54a114b commit 1787ef7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

repo2docker/buildpacks/pyproject/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ def get_assemble_scripts(self):
126126
assemble_scripts.append(
127127
(
128128
"${NB_USER}",
129-
"""PATH="${KERNEL_PYTHON_PREFIX}/bin:$PATH" \\
130-
pip install --no-cache-dir --editable .
131-
""",
129+
"${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir --editable .",
132130
)
133131
)
134132

0 commit comments

Comments
 (0)