From 3bfaea36a4484f1db0340cd67f7783ccec23c738 Mon Sep 17 00:00:00 2001 From: Matthieu Crapet Date: Tue, 6 May 2014 14:17:49 +0200 Subject: apmd: avoid pipe with sed Replace: cat | sed -e xxx By: sed -e xxx Signed-off-by: Matthieu Crapet Signed-off-by: Saul Wold --- meta/recipes-bsp/apmd/apmd_3.2.2-14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-bsp/apmd') diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb index 8c4b75eb6d..ab7de65cf0 100644 --- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb +++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb @@ -65,7 +65,7 @@ do_install() { oe_libinstall -so libapm ${D}${libdir} install -m 0644 apm.h ${D}${includedir} - cat ${WORKDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}${sysconfdir}/init.d/apmd + sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/apmd chmod 755 ${D}${sysconfdir}/init.d/apmd install -d ${D}${systemd_unitdir}/system -- cgit 1.2.3-korg