diff --git a/Makefile b/Makefile index a88fdd4044..f2bc038901 100644 --- a/Makefile +++ b/Makefile @@ -937,7 +937,7 @@ install.tools: .install.golangci-lint .install.swagger ## Install needed tools .PHONY: .install.pre-commit .install.pre-commit: if [ -z "$(PRE_COMMIT)" ]; then \ - python3 -m pip install --user pre-commit; \ + $(PYTHON) -m pip install --user pre-commit; \ fi .PHONY: uninstall