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 #26 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 Oct 8, 2023
2 parents 0b610bb + 344178f commit 5d785d3
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 5d785d3

Please sign in to comment.