aboutsummaryrefslogtreecommitdiff
path: root/sh/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-10-19 12:22:23 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-10-19 12:22:23 -0500
commit9c77502f964ef368892598b4fb30c4909fe3d360 (patch)
treebf1c06137ed01fb135b82131e3b030fdde560f06 /sh/Makefile
parentecf77254bbacf5b53d940a738ea6cdc569a28958 (diff)
Make variable references in Makefiles consistent
Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
Diffstat (limited to 'sh/Makefile')
-rw-r--r--sh/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/Makefile b/sh/Makefile
index 72df96a5..c29462e3 100644
--- a/sh/Makefile
+++ b/sh/Makefile
@@ -9,14 +9,14 @@ INSTALLAFTER= _installafter
MK= ../mk
include ${MK}/os.mk
-ifeq ($(OS),FreeBSD)
+ifeq (${OS},FreeBSD)
SRCS+= init.sh.in
.SUFFIXES: .sh.BSD.in
.sh.BSD.in.sh:
${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@
-else ifeq ($(OS),Linux)
+else ifeq (${OS},Linux)
SRCS+= init.sh.in init-early.sh.in udhcpc-hook.sh.in
BIN+= init-early.sh udhcpc-hook.sh
@@ -24,7 +24,7 @@ BIN+= init-early.sh udhcpc-hook.sh
.sh.Linux.in.sh:
${SED} ${SED_REPLACE} ${SED_EXTRA} $< > $@
-else ifeq ($(OS),NetBSD)
+else ifeq (${OS},NetBSD)
SRCS+= init.sh.in
SRCS+= ifwatchd-carrier.sh.in ifwatchd-nocarrier.sh.in