Skip to content

Commit da96338

Browse files
committed
fix: correct shell command substitution syntax in Makefile
1 parent 1b544df commit da96338

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ install-docker: check-container-tool ## Install app using $(CONTAINER_TOOL)
123123
uninstall-docker: check-container-tool ## Uninstall app from $(CONTAINER_TOOL)
124124
@echo "Stopping and removing container in $(CONTAINER_TOOL)..."
125125
-$(CONTAINER_TOOL) stop $(PROJECT_NAME)-container && $(CONTAINER_TOOL) rm $(PROJECT_NAME)-container
126-
@echo "$(CONTAINER_TOOL) uninstallation complete. Remove alias if set: unalias $(PROJECT_NAME)"
126+
@echo "$(CONTAINER_TOOL) uninstallation complete. Remove alias if set: unalias $(PROJECT_NAME)"
127127

128128
### Kubernetes Targets (kubectl)
129129

@@ -341,16 +341,16 @@ download-zmq: ## Install ZMQ dependencies based on OS/ARCH
341341
else \
342342
echo "Installing ZMQ dependencies..."; \
343343
if [ "$(TARGETOS)" = "linux" ]; then \
344-
if [ -x "$(command -v apt)" ]; then \
344+
if [ -x "$$(command -v apt)" ]; then \
345345
apt update && apt install -y libzmq3-dev; \
346-
elif [ -x "$(command -v dnf)" ]; then \
346+
elif [ -x "$$(command -v dnf)" ]; then \
347347
dnf install -y zeromq-devel; \
348348
else \
349349
echo "Unsupported Linux package manager. Install libzmq manually."; \
350350
exit 1; \
351351
fi; \
352352
elif [ "$(TARGETOS)" = "darwin" ]; then \
353-
if [ -x "$(command -v brew)" ]; then \
353+
if [ -x "$$(command -v brew)" ]; then \
354354
brew install zeromq; \
355355
else \
356356
echo "Homebrew is not installed and is required to install zeromq. Install it from https://brew.sh/"; \

0 commit comments

Comments
 (0)