diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-12-21 16:26:42 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-12-21 16:26:42 +0100 |
| commit | 88b2b869640d84111479fb569db2e9544ab8c98a (patch) | |
| tree | cf858b22fcc7bf8a7ec6044887c1989fee4b23ed /install.sh | |
| parent | 6c067898e93971b2235221c152b6ecb380c628fa (diff) | |
.
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ symlink () { } install_python_venv() { - PYTHON_CMD="$((which -a $1 2> /dev/null || true) | grep -m 1 -v "^$(cd; pwd)")" + PYTHON_CMD="$(which -a $1 2> /dev/null | grep -m 1 -v "^$(cd; pwd)" || true)" [ -z "$PYTHON_CMD" ] && return 0; PYTHON=$PYTHON_CMD |
