mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-04 00:30:35 +02:00
Prefer Python3 by default.
This commit is contained in:
4
run
4
run
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
if python2 -V 2>/dev/null; then
|
||||
exec python2 -m "sshuttle" "$@"
|
||||
if python3 -V 2>/dev/null; then
|
||||
exec python3 -m "sshuttle" "$@"
|
||||
else
|
||||
exec python -m "sshuttle" "$@"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user