aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-05-06 14:17:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-08 13:00:33 +0100
commit8de568a569413e185030669e7052ebe31b94bd19 (patch)
treef6afe5a3373a1617f1f8c4ca81b1465bfebf94ca /meta/recipes-bsp/acpid
parent77790c43b1bfdb0ca9e43ca3878d9153962e47f2 (diff)
acpid: avoid pipe with sed
Replace: cat <file> | sed -e xxx By: sed -e xxx <file> (From OE-Core rev: 49345d83f280da13b7993971a336c6176587961d) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/acpid')
-rw-r--r--meta/recipes-bsp/acpid/acpid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc
index 89cb73fc7f..fad7afdf26 100644
--- a/meta/recipes-bsp/acpid/acpid.inc
+++ b/meta/recipes-bsp/acpid/acpid.inc
@@ -25,7 +25,7 @@ do_install () {
install -d ${D}${bindir}
oe_runmake 'INSTPREFIX=${D}' install
install -d ${D}${sysconfdir}/init.d
- cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid
+ sed -e 's,/usr/sbin,${sbindir},g' ${WORKDIR}/init > ${D}${sysconfdir}/init.d/acpid
chmod 755 ${D}${sysconfdir}/init.d/acpid
install -d ${D}${sysconfdir}/acpi