summaryrefslogtreecommitdiff
path: root/meta
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 12:56:41 +0100
commit49345d83f280da13b7993971a336c6176587961d (patch)
tree7177fd966ad1b7f8c7f2bc9f2d34f7b94e13b5c5 /meta
parente2026f5d32ac05396615224ac9ec927439e7e6b4 (diff)
downloadopenembedded-core-49345d83f280da13b7993971a336c6176587961d.tar.gz
openembedded-core-49345d83f280da13b7993971a336c6176587961d.tar.bz2
openembedded-core-49345d83f280da13b7993971a336c6176587961d.zip
acpid: avoid pipe with sed
Replace: cat <file> | sed -e xxx By: sed -e xxx <file> Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-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