소스 검색

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 <vsergeev@kumunetworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ivan Sergeev 11 년 전
부모
커밋
fc07556408
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      package/systemd/systemd.mk

+ 1 - 1
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 += \