1
0
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:
James Duley 2014-08-23 15:51:56 +12:00
parent 3e8de2e362
commit 3dca248938

View File

@ -15,8 +15,8 @@ OPENPILOT_TOOLS_DIR = $$(OPENPILOT_TOOLS_DIR)
PYTHON = \"$$ROOT_DIR/tools/$$PYTHON_DIR/python\"
} else {
# not found, hope it's in the path...
PYTHON_VER = $$system(python --version 2>&1)
contains(PYTHON_VER, "Python 2") {
PYTHON_VER = "$$system(python --version 2>&1)"
contains(PYTHON_VER, "Python 2.*") {
PYTHON = \"python\"
} else {
PYTHON = \"python2\"