Skip to content

Commit

Permalink
set absolute PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Dec 16, 2024
1 parent c209718 commit 09b4ce3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ curl -sSL https://install.python-poetry.org | python3 -

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

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

0 comments on commit 09b4ce3

Please sign in to comment.