We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6e1845 commit cf26e12Copy full SHA for cf26e12
1 file changed
share/python-wrapper.sh
@@ -31,7 +31,7 @@ done
31
# But don't resolve symlinks from outside!
32
if [[ "${ARGV0}" =~ "/" ]]; then
33
executable="$(cd $(dirname ${ARGV0}) && pwd)/$(basename ${ARGV0})"
34
-else
+elif [[ "${ARGV0}" != "" ]]; then
35
executable=$(which "${ARGV0}")
36
fi
37
0 commit comments