Skip to content

Commit cf26e12

Browse files
authored
Update python-wrapper.sh
1 parent c6e1845 commit cf26e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/python-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ done
3131
# But don't resolve symlinks from outside!
3232
if [[ "${ARGV0}" =~ "/" ]]; then
3333
executable="$(cd $(dirname ${ARGV0}) && pwd)/$(basename ${ARGV0})"
34-
else
34+
elif [[ "${ARGV0}" != "" ]]; then
3535
executable=$(which "${ARGV0}")
3636
fi
3737

0 commit comments

Comments
 (0)