From ccb3d634b15844b2c1b7b900dd460859e0a6d717 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 25 Nov 2024 10:14:31 -0800 Subject: [PATCH] check poetry --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 95b3f21cb3..79947e4c2b 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ help: ## Display this help @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) install-poetry: ## Install poetry if the user has not done that yet. - @if ! $(POETRY) --version &> /dev/null; then \ + @if ! command -v poetry &> /dev/null; then \ echo "Poetry could not be found. Installing..."; \ ${PIP} install poetry==1.8.3; \ else \