busybox: use SED macro instead of 'sed -i'
authorDanomi Manchego <danomimanchego123@gmail.com>
Wed, 4 Jun 2014 01:53:23 +0000 (21:53 -0400)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Jun 2014 21:19:53 +0000 (23:19 +0200)
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/busybox/busybox.mk

index af1d13f7ecb1f17bcfef99969cdc8c9dd06160e3..3d87cd78bf6801497265cd7fad0484aa75f70b84 100644 (file)
@@ -184,7 +184,7 @@ define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
        [ -f $(TARGET_DIR)/etc/init.d/S15watchdog ] || \
                install -D -m 0755 package/busybox/S15watchdog \
                        $(TARGET_DIR)/etc/init.d/S15watchdog && \
-               sed -i s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
+               $(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
                        $(TARGET_DIR)/etc/init.d/S15watchdog
 endef
 endif