Merge pull request #16927 from judaew/patch-2

make: Use PYTHON var for .install.pre-commit
This commit is contained in:
Daniel J Walsh 2022-12-23 05:17:58 -05:00 committed by GitHub
commit 693aa0c730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ install.tools: .install.golangci-lint .install.swagger ## Install needed tools
.PHONY: .install.pre-commit .PHONY: .install.pre-commit
.install.pre-commit: .install.pre-commit:
if [ -z "$(PRE_COMMIT)" ]; then \ if [ -z "$(PRE_COMMIT)" ]; then \
python3 -m pip install --user pre-commit; \ $(PYTHON) -m pip install --user pre-commit; \
fi fi
.PHONY: uninstall .PHONY: uninstall