diff options
author | Brian May <brian@linuxpenguins.xyz> | 2015-11-15 16:45:26 +1100 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2015-11-15 16:45:26 +1100 |
commit | d4f10b232a031004905fa1705829a2060764c407 (patch) | |
tree | 7bfca19f6057c53adda2b050e7df3fabd3adcdf2 /run | |
parent | 41b8ad4c9797c58e11cd3c562a77bbce907d1c9e (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-x | run | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh +if python2 -V 2>/dev/null; then + exec python2 -m "sshuttle" "$@" +else + exec python -m "sshuttle" "$@" +fi |