Skip to content

Commit

Permalink
Merge pull request #5 from a4lg/robust-docker-detection
Browse files Browse the repository at this point in the history
Detect Docker robustly
  • Loading branch information
bcstrongx committed Nov 30, 2023
2 parents 95a525e + 1e185e8 commit 300393c
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 300393c

Please sign in to comment.