mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
OP-1324 fixed regex
This commit is contained in:
parent
3e8de2e362
commit
3dca248938
@ -15,8 +15,8 @@ OPENPILOT_TOOLS_DIR = $$(OPENPILOT_TOOLS_DIR)
|
|||||||
PYTHON = \"$$ROOT_DIR/tools/$$PYTHON_DIR/python\"
|
PYTHON = \"$$ROOT_DIR/tools/$$PYTHON_DIR/python\"
|
||||||
} else {
|
} else {
|
||||||
# not found, hope it's in the path...
|
# not found, hope it's in the path...
|
||||||
PYTHON_VER = $$system(python --version 2>&1)
|
PYTHON_VER = "$$system(python --version 2>&1)"
|
||||||
contains(PYTHON_VER, "Python 2") {
|
contains(PYTHON_VER, "Python 2.*") {
|
||||||
PYTHON = \"python\"
|
PYTHON = \"python\"
|
||||||
} else {
|
} else {
|
||||||
PYTHON = \"python2\"
|
PYTHON = \"python2\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user