summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2015-11-15 16:45:26 +1100
committerBrian May <brian@linuxpenguins.xyz>2015-11-15 16:45:26 +1100
commitd4f10b232a031004905fa1705829a2060764c407 (patch)
tree7bfca19f6057c53adda2b050e7df3fabd3adcdf2 /run
parent41b8ad4c9797c58e11cd3c562a77bbce907d1c9e (diff)
Restructure code
* Make compatible with setuptools. * Load modules via ssh into separate modules, not the one name space.
Diffstat (limited to 'run')
-rwxr-xr-xrun6
1 files changed, 6 insertions, 0 deletions
diff --git a/run b/run
new file mode 100755
index 0000000..7fd71d4
--- /dev/null
+++ b/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+if python2 -V 2>/dev/null; then
+ exec python2 -m "sshuttle" "$@"
+else
+ exec python -m "sshuttle" "$@"
+fi