summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2015-10-20 14:52:53 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-21 22:12:33 +0200
commitade3ed68169b72bf22970a23951a534fe00825b4 (patch)
tree927727d8527c248864a9c51f052d459c1f7ad23b
parentcbcecc2453ec7f94d82f32a1acd33a09e576ecee (diff)
downloadbuildroot-ade3ed68169b72bf22970a23951a534fe00825b4.tar.gz
buildroot-ade3ed68169b72bf22970a23951a534fe00825b4.zip
noip: use a simpler sed command with our $(SED) variable
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/noip/noip.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/noip/noip.mk b/package/noip/noip.mk
index fceea1ed50..98edfcac54 100644
--- a/package/noip/noip.mk
+++ b/package/noip/noip.mk
@@ -11,8 +11,7 @@ NOIP_LICENSE = GPLv2+
NOIP_LICENSE_FILES = COPYING
define NOIP_BUILD_CMDS
- sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
- $(@D)/noip2.c
+ $(SED) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
PREFIX=/usr CONFDIR=/etc
endef
OpenPOWER on IntegriCloud