Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #19 from a4lg/robust-docker-detection
Browse files Browse the repository at this point in the history
Detect Docker robustly
  • Loading branch information
ved-rivos authored Sep 12, 2023
2 parents b65e07c + 8a088a9 commit f95b53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ all: build

build:
@echo "Checking if Docker is available..."
@if command -v docker &> /dev/null ; then \
@if command -v docker >/dev/null 2>&1 ; then \
echo "Docker is available, building inside Docker container..."; \
$(MAKE) build-container; \
else \
Expand Down

0 comments on commit f95b53a

Please sign in to comment.