aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-12-21 16:00:18 +0100
committerbozo.kopic <bozo@kopic.xyz>2022-12-21 16:00:18 +0100
commit448536b55d6f86bf4fa2b2857a13d16434e74d86 (patch)
treefb160c253d480f0e10ad2cb089eca4aa621a2c08
parent677acf3e97a9fb1f6d3d61d6564ca35ffc140474 (diff)
.
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index ab4f369..cc4a581 100755
--- a/install.sh
+++ b/install.sh
@@ -7,7 +7,7 @@ symlink () {
}
install_python_venv() {
- PYTHON_CMD="$(which -a $1 | grep -m 1 -v "^$(cd; pwd)")"
+ PYTHON_CMD="$(which -a $1 2> /dev/null | grep -m 1 -v "^$(cd; pwd)")"
[ -z "$PYTHON_CMD" ] && return 0;
PYTHON=$PYTHON_CMD