Normalize messages
This commit is contained in:
parent
8b9a3885eb
commit
e7a42d037b
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ MIN_PY3_MINOR_VERSION := 5
|
||||||
PY3_MINOR_VERSION := $(shell python3 --version | cut -d'.' -f2)
|
PY3_MINOR_VERSION := $(shell python3 --version | cut -d'.' -f2)
|
||||||
|
|
||||||
ifneq ($(MIN_PY3_MINOR_VERSION), $(firstword $(sort $(PY3_MINOR_VERSION) $(MIN_PY3_MINOR_VERSION))))
|
ifneq ($(MIN_PY3_MINOR_VERSION), $(firstword $(sort $(PY3_MINOR_VERSION) $(MIN_PY3_MINOR_VERSION))))
|
||||||
$(info Current python version is "3.$(PY3_MINOR_VERSION)")
|
$(info Current python version is 3.$(PY3_MINOR_VERSION))
|
||||||
$(error You must have at least 3.$(MIN_PY3_MINOR_VERSION) installed)
|
$(error You must have at least 3.$(MIN_PY3_MINOR_VERSION) installed)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue