summaryrefslogtreecommitdiff
path: root/test/tests/find-python-executable.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/find-python-executable.bash')
-rw-r--r--test/tests/find-python-executable.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests/find-python-executable.bash b/test/tests/find-python-executable.bash
index d4fa7eb..9a91a74 100644
--- a/test/tests/find-python-executable.bash
+++ b/test/tests/find-python-executable.bash
@@ -31,7 +31,7 @@ touch ~/tmp_bin/python &&
chmod +x ~/tmp_bin/python &&
cat >> ~/tmp_bin/python <<EOF
#!$HOME/tmp_bin/bash
-exec $(which python)
+exec $(command -v python)
EOF
'