diff --git a/ssh-wrapper.py b/ssh-wrapper.py index 2ea189a..99a6a01 100755 --- a/ssh-wrapper.py +++ b/ssh-wrapper.py @@ -1,6 +1,6 @@ #!/bin/sh '''': -for pyint in python3 python python2; do +for pyint in /usr/libexec/platform-python python3 python python2; do command -v $pyint >/dev/null 2>&1 && exec $pyint "$0" "$@" done echo "$0: No python could be found" >&2