Skip to content

Commit 7ff770b

Browse files
committed
cleanup
1 parent caefb70 commit 7ff770b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dev/local/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,10 @@ LOG_DB:=delphi_database_epidata_$(NOW).log
6767
WEB_CONTAINER_ID:=$(shell docker ps -q --filter 'name=delphi_web_epidata')
6868
DATABASE_CONTAINER_ID:=$(shell docker ps -q --filter 'name=delphi_database_epidata')
6969

70-
M1=
71-
UNAME := $(shell uname -smp)
72-
ifeq ($(UNAME), Darwin arm64 arm)
70+
M1=
71+
ifeq ($(shell uname -smp), Darwin arm64 arm)
72+
$(info M1 system detected, changing docker platform to linux/amd64.)
7373
override M1 =--platform linux/amd64
74-
@echo M1 system detected, changing docker platform to linux/amd64.
7574
endif
7675

7776
.PHONY=web

0 commit comments

Comments
 (0)