Skip to content

Commit

Permalink
Merge branch 'pull/35'
Browse files Browse the repository at this point in the history
* Merging pull request apenwarr#35.
  • Loading branch information
Hasimir committed Jun 24, 2015
2 parents be49fe8 + ec8ea09 commit 40dc1db
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions sshuttle
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/bin/sh
EXE=$0
for i in 1 2 3 4 5 6 7 8 9 10; do
[ -L "$EXE" ] || break
EXE=$(readlink "$EXE")
done
DIR=$(dirname "$EXE")

DIR="$(dirname $(readlink -f ${0}))"

if python2 -V 2>/dev/null; then
exec python2 "$DIR/main.py" python2 "$@"
else
Expand Down

0 comments on commit 40dc1db

Please sign in to comment.