[Buildroot] [git commit] systemd: fix sed line in "sanitize path in units" hook
Peter Korsgaard
peter at korsgaard.com
Sat Feb 15 07:21:50 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=fc075564085ed1ebaf19847bd6ea078ff8b992d6
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <vsergeev at kumunetworks.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/systemd/systemd.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 9086045..36ef704 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 += \
More information about the buildroot
mailing list