diff options
author | Brian May <brian@linuxpenguins.xyz> | 2016-08-30 18:51:19 +1000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2016-08-30 18:51:19 +1000 |
commit | d2fdb6c0298d562f925b221d65a9b07b912f00e5 (patch) | |
tree | b602e0954647f654ba6aa40037c4fb37b5c48e23 /run | |
parent | 2c20a1fd5a3f7724f8e0569409b9875627f1aa15 (diff) |
Add CWD to PYTHONPATH in run
Diffstat (limited to 'run')
-rwxr-xr-x | run | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ #!/bin/sh +export PYTHONPATH=$PWD:$PYTHONPATH if python3.5 -V 2>/dev/null; then exec python3.5 -m "sshuttle" "$@" elif python2.7 -V 2>/dev/null; then |