We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c6e1845 + cf26e12 commit 5e16e06Copy full SHA for 5e16e06
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