Skip to content

Commit a836891

Browse files
committed
fix: shell pragma missing from Makefile
Signed-off-by: Paul Bastide <[email protected]>
1 parent e3ecd91 commit a836891

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,19 @@ dev-config-linux: dev-stop-linux-named dev-stop-linux-haproxy
121121

122122
.PHONY: dev-stop-linux-named
123123
dev-stop-linux-named:
124-
ifneq("inactive",$(systemctl is-failed named))
124+
ifneq("inactive","$(shell systemctl is-failed named)")
125125
systemctl stop named
126126
end
127127

128128
.PHONY: dev-stop-linux-haproxy
129129
dev-stop-linux-haproxy:
130-
ifneq("inactive",$(systemctl is-failed haproxy))
130+
ifneq("inactive","$(shell systemctl is-failed haproxy)")
131131
systemctl stop haproxy
132132
end
133133

134134
.PHONY: dev-config-linux-resolv
135135
dev-config-linux-resolv:
136-
ifeq("", $(grep 10.0.10.4 /etc/resolv.conf))
136+
ifeq("", "$(shell grep 10.0.10.4 /etc/resolv.conf)")
137137
echo "nameserver 10.0.10.4" >> /etc/resolv.conf
138138
end
139139

0 commit comments

Comments
 (0)