summaryrefslogtreecommitdiff
path: root/test/tests/find-python-executable.bash
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2019-11-09 12:40:20 -0500
committerAnish Athalye <me@anishathalye.com>2019-11-09 12:40:20 -0500
commit2dc876cd65fc21093cf54f6f7a9f6a2fa5971a45 (patch)
tree913088bd57d57e4dbdb337ad27145855a1fd0c9b /test/tests/find-python-executable.bash
parent5bb3c8a3437a55726a6bed191b008eff2afcda00 (diff)
parentd2913e6cee1de35fda33317c9e34edcaac4b97f0 (diff)
Merge branch 'paulohefagundes/remove_which'
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
'