summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2016-08-30 18:51:19 +1000
committerBrian May <brian@linuxpenguins.xyz>2016-08-30 18:51:19 +1000
commitd2fdb6c0298d562f925b221d65a9b07b912f00e5 (patch)
treeb602e0954647f654ba6aa40037c4fb37b5c48e23 /run
parent2c20a1fd5a3f7724f8e0569409b9875627f1aa15 (diff)
Add CWD to PYTHONPATH in run
Diffstat (limited to 'run')
-rwxr-xr-xrun1
1 files changed, 1 insertions, 0 deletions
diff --git a/run b/run
index 5cf083f..4f7118b 100755
--- a/run
+++ b/run
@@ -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