aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-12-21 16:26:42 +0100
committerbozo.kopic <bozo@kopic.xyz>2022-12-21 16:26:42 +0100
commit88b2b869640d84111479fb569db2e9544ab8c98a (patch)
treecf858b22fcc7bf8a7ec6044887c1989fee4b23ed /install.sh
parent6c067898e93971b2235221c152b6ecb380c628fa (diff)
.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 8395fd5..b3412fe 100755
--- a/install.sh
+++ b/install.sh
@@ -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