Commit 4801ae66 authored by Brian May's avatar Brian May

Support using run from different directory

parent f57ad356
#!/bin/sh #!/bin/sh
./setup.py --version > /dev/null source_dir="$(dirname $0)"
export PYTHONPATH=$PWD:$PYTHONPATH (cd "$source_dir" && "$source_dir/setup.py" --version > /dev/null)
export PYTHONPATH="$source_dir:$PYTHONPATH"
if python3.5 -V >/dev/null 2>&1; then if python3.5 -V >/dev/null 2>&1; then
exec python3.5 -m "sshuttle" "$@" exec python3.5 -m "sshuttle" "$@"
elif python2.7 -V >/dev/null 2>&1; then elif python2.7 -V >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment