Skip to content

Commit 09b4ce3

Browse files
committed
set absolute PATH
1 parent c209718 commit 09b4ce3

File tree

1 file changed

+2
-2
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-code-server-python3-poetry-install

1 file changed

+2
-2
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-code-server-python3-poetry-install/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -sSL https://install.python-poetry.org | python3 -
77

88
# Add poetry to the path
99
echo "**** ensuring poetry is in PATH ****"
10-
if ! grep -q "$HOME/.local/bin" /var/run/s6/container_environment/PATH; then
11-
printf ':$HOME/.local/bin' >> /var/run/s6/container_environment/PATH
10+
if ! grep -q "/config/.local/bin" /var/run/s6/container_environment/PATH; then
11+
printf ':/config/.local/bin' >> /var/run/s6/container_environment/PATH
1212
fi
1313

1414
echo "**** poetry setup complete ****"

0 commit comments

Comments
 (0)