diff options
author | Claudio Bandera <cbandera@users.noreply.github.com> | 2022-11-28 22:05:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 22:05:21 +0300 |
commit | 4af4c291225a165e5a9b0e5a65c450e81e5aecf0 (patch) | |
tree | d9cc6f51e00af763e992ee815f154a323ec2dce8 /src/python/install.sh | |
parent | 30f287605354478d4af5d6c8736c9a414369110c (diff) |
Proposal for fix of #312 (#313)
* Proposal for fix of #312
This change moves the directory separator into the `PIPX_DIR` variable in order to not introduce an error in the case pipx has already been installed systemwide.
* Bump patch version of python feature to 1.0.16
Diffstat (limited to 'src/python/install.sh')
-rwxr-xr-x | src/python/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/install.sh b/src/python/install.sh index d823cc9..0c3f9e0 100755 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -450,11 +450,11 @@ if [[ "${INSTALL_PYTHON_TOOLS}" = "true" ]] && [[ $(python --version) != "" ]]; if ! type pipx > /dev/null 2>&1; then pip3 install --disable-pip-version-check --no-cache-dir --user pipx 2>&1 /tmp/pip-tmp/bin/pipx install --pip-args=--no-cache-dir pipx - PIPX_DIR="/tmp/pip-tmp/bin" + PIPX_DIR="/tmp/pip-tmp/bin/" fi for util in "${DEFAULT_UTILS[@]}"; do if ! type ${util} > /dev/null 2>&1; then - "${PIPX_DIR}/pipx" install --system-site-packages --pip-args '--no-cache-dir --force-reinstall' ${util} + "${PIPX_DIR}pipx" install --system-site-packages --pip-args '--no-cache-dir --force-reinstall' ${util} else echo "${util} already installed. Skipping." fi |