From: Vicente Olivert Riera Date: Tue, 20 Oct 2015 13:52:53 +0000 (+0100) Subject: noip: use a simpler sed command with our $(SED) variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ade3ed68169b72bf22970a23951a534fe00825b4;p=buildroot.git noip: use a simpler sed command with our $(SED) variable Signed-off-by: Vicente Olivert Riera Signed-off-by: Thomas Petazzoni --- 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