Skip to content

Commit

Permalink
Fix Makefile: use spaces instead of tabs (#792)
Browse files Browse the repository at this point in the history
...in the directives or else the following error gets emitted for wrong CONTAINER value:

[helm-charts]$ CONTAINER=faulty make sync-dashboards
Makefile:19: *** recipe commences before first target.  Stop.
  • Loading branch information
plevart authored Dec 12, 2023
1 parent 73a76a7 commit 44fdd4d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ CT?=ct-docker
CONTAINER ?= docker

ifeq ($(CONTAINER),docker)
CONTAINER_USER_OPTION = --user $(shell id -u):$(shell id -g)
CONTAINER_VOLUME_OPTION_SUFFIX =
CONTAINER_USER_OPTION = --user $(shell id -u):$(shell id -g)
CONTAINER_VOLUME_OPTION_SUFFIX =
else
ifeq ($(CONTAINER),podman)
CONTAINER_USER_OPTION =
CONTAINER_VOLUME_OPTION_SUFFIX = :z
else
$(error CONTAINER values currently supported are: docker, podman)
endif
ifeq ($(CONTAINER),podman)
CONTAINER_USER_OPTION =
CONTAINER_VOLUME_OPTION_SUFFIX = :z
else
$(error CONTAINER values currently supported are: docker, podman)
endif
endif

helm-docker:
Expand Down

0 comments on commit 44fdd4d

Please sign in to comment.