diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-31 11:41:52 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-31 11:41:52 +0300 |
commit | abebd302f91e419046eeac209ef3a0c497c6445d (patch) | |
tree | c5345e9f671b12744f63049411e63f4d2a63bbb0 | |
parent | 1a4422be08ef234ed0666f13b13fc03506c197b3 (diff) |
ensure ~/.local/bin to be in path for ./dev.sh
-rwxr-xr-x | dev.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ all Do it all: pytest, coverage report in firefox and pylint install Build poetry package and install it for current user " && exit 0 +# Ensure ~/.local/bin in the PATH. +echo $PATH | grep /.local/bin > /dev/null \ + || export PATH="$HOME/.local/bin:$PATH" + PIP=`which pipx` [ x$PIP = x ] && PIP=`which pip` [ x$PIP = x ] \ |