Skip to content

Commit 399410f

Browse files
committed
Fix hugo download for macOS
Signed-off-by: Javier Romero <[email protected]>
1 parent 172324e commit 399410f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ ifeq ($(OS),Windows_NT)
4040
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
4141
HUGO_ARCH:=64bit
4242
endif
43-
else
43+
endif
44+
4445
ifeq ($(shell uname -s),Darwin)
4546
HUGO_OS:=macOS
47+
HUGO_ARCH:=universal
4648
endif
47-
UNAME_M:=$(shell uname -m)
49+
50+
ifeq ($(shell uname -s),Linux)
51+
UNAME_M:=$(shell uname -m)
4852
ifneq ($(filter %64,$(UNAME_M)),)
4953
HUGO_ARCH:=64bit
5054
endif

0 commit comments

Comments
 (0)