Skip to content

Commit

Permalink
⏪ Used command to check container tool
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Martin <[email protected]>
  • Loading branch information
rmarting authored and HarikrishnanBalagopal committed Sep 29, 2021
1 parent bfdda43 commit af3bed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ ifneq ($(GIT_TAG),)
endif

# Setting container tool
DOCKER_CMD := $(shell which docker 2> /dev/null)
PODMAN_CMD := $(shell which podman 2> /dev/null)
DOCKER_CMD := $(shell command -v docker)
PODMAN_CMD := $(shell command -v podman)

ifdef DOCKER_CMD
CONTAINER_TOOL = 'docker'
Expand Down

0 comments on commit af3bed2

Please sign in to comment.