mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-29 17:29:16 +01:00
11 lines
266 B
Bash
Executable File
11 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
./setup.py --version > /dev/null
|
|
export PYTHONPATH=$PWD:$PYTHONPATH
|
|
if python3.5 -V >/dev/null 2>&1; then
|
|
exec python3.5 -m "sshuttle" "$@"
|
|
elif python2.7 -V >/dev/null 2>&1; then
|
|
exec python2.7 -m "sshuttle" "$@"
|
|
else
|
|
exec python -m "sshuttle" "$@"
|
|
fi
|