diff --git a/scripts/nmk/scripts/tools.mk b/scripts/nmk/scripts/tools.mk index ce3d85dea..c5794401c 100644 --- a/scripts/nmk/scripts/tools.mk +++ b/scripts/nmk/scripts/tools.mk @@ -22,7 +22,7 @@ MAKE := make MKDIR := mkdir -p AWK := awk PERL := perl -FULL_PYTHON := $(shell which python2 2>/dev/null || which python3 2>/dev/null) +FULL_PYTHON := $(shell which python3 2>/dev/null || which python2 2>/dev/null) PYTHON ?= $(shell basename $(FULL_PYTHON)) FIND := find SH := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \