Skip to content

Commit 917b343

Browse files
committed
check poetry
1 parent 5b9705d commit 917b343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help: ## Display this help
2323
@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)
2424

2525
install-poetry: ## Install poetry if the user has not done that yet.
26-
@if ! $(POETRY) --version &> /dev/null; then \
26+
@if ! command -v poetry &> /dev/null; then \
2727
echo "Poetry could not be found. Installing..."; \
2828
${PIP} install poetry==1.8.3; \
2929
else \

0 commit comments

Comments
 (0)