mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
Default interpreter to "python" if "python3" doesn't exist
This commit is contained in:
parent
50ec03229f
commit
bae1d7a894
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
PYTHON=${PYTHON:-python3}
|
||||
PYTHON=${PYTHON:-$(which python3 python|head -n 1)}
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
PYTHON=${PYTHON:-python3}
|
||||
PYTHON=${PYTHON:-$(which python3 python|head -n 1)}
|
||||
|
||||
# Usage info
|
||||
show_help() {
|
||||
|
Loading…
Reference in New Issue
Block a user