All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] systemd: fix sed line in "sanitize path in units" hook
@ 2014-02-15  7:21 Peter Korsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2014-02-15  7:21 UTC (permalink / raw)
  To: buildroot

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@kumunetworks.com>
Signed-off-by: Peter Korsgaard <peter@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 += \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-15  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15  7:21 [Buildroot] [git commit] systemd: fix sed line in "sanitize path in units" hook Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.