From: Ivan Sergeev Date: Sat, 15 Feb 2014 02:42:57 +0000 (-0800) Subject: systemd: fix sed line in "sanitize path in units" hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc075564085ed1ebaf19847bd6ea078ff8b992d6;p=buildroot.git systemd: fix sed line in "sanitize path in units" hook The expanded SED variable already contains -e, so the extra -e was being interpreted as the sed command and causing sed to fail. Signed-off-by: Ivan Sergeev Signed-off-by: Peter Korsgaard --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 90860456da..36ef704c7b 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -103,7 +103,7 @@ endef define SYSTEMD_SANITIZE_PATH_IN_UNITS find $(TARGET_DIR)/lib/systemd/system -name '*.service' \ - -exec $(SED) -e 's,$(HOST_DIR),,g' {} \; + -exec $(SED) 's,$(HOST_DIR),,g' {} \; endef SYSTEMD_POST_INSTALL_TARGET_HOOKS += \