Skip to content

Commit c27b4be

Browse files
author
Bobby Tiernay
committed
fix: Makefile OS conditional
1 parent f116c92 commit c27b4be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ junit*.xml
77
debug.test
88
/output/
99
coverage.out
10+
.idea/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ IMAGE:=$(REGISTRY)/node-problem-detector:$(TAG)
6565
# support needs libsystemd-dev or libsystemd-journal-dev.
6666
ENABLE_JOURNALD?=1
6767

68-
ifeq ($(go env GOHOSTOS), darwin)
68+
ifeq ($(shell go env GOHOSTOS), darwin)
6969
ENABLE_JOURNALD=0
70-
else ifeq ($(go env GOHOSTOS), windows)
70+
else ifeq ($(shell go env GOHOSTOS), windows)
7171
ENABLE_JOURNALD=0
7272
endif
7373

0 commit comments

Comments
 (0)