sshuttle/run

11 lines
266 B
Plaintext
Raw Normal View History

#!/bin/sh
./setup.py --version > /dev/null
2016-08-30 10:51:19 +02:00
export PYTHONPATH=$PWD:$PYTHONPATH
2016-08-30 10:52:06 +02:00
if python3.5 -V >/dev/null 2>&1; then
2016-01-30 01:27:37 +01:00
exec python3.5 -m "sshuttle" "$@"
2016-08-30 10:52:06 +02:00
elif python2.7 -V >/dev/null 2>&1; then
exec python2.7 -m "sshuttle" "$@"
else
exec python -m "sshuttle" "$@"
fi