mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 09:23:48 +01:00
a62975e0ce
First try running under python2, then python if that doesn't exist.
8 lines
152 B
Bash
Executable File
8 lines
152 B
Bash
Executable File
#!/bin/sh
|
|
DIR=$(dirname "$0")
|
|
if python2 -V 2>/dev/null; then
|
|
exec python2 "$DIR/main.py" python2 "$@"
|
|
else
|
|
exec python "$DIR/main.py" python "$@"
|
|
fi
|