make: Use PYTHON var for .install.pre-commit

Signed-off-by: Vadym-Valdis Yudaiev <judaew@outlook.de>
This commit is contained in:
Vadym-Valdis Yudaiev committed 2022-12-22 23:45:26 +02:00
1 parent 9fbf91801d
commit 85ceb7fb5c
1 file changed
+1 -1
+1 -1
View File
@@ -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