[oe-commits] [openembedded-core] 48/50: groff: correct the location path for awk
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 25 22:05:04 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit a3d9d310866fe37f9c072bc81203cbf1b7ca688b
Author: Zhenbo Gao <zhenbo.gao at windriver.com>
AuthorDate: Wed Aug 24 17:12:38 2016 +0800
groff: correct the location path for awk
awk is located at /usr/bin/, but not /bin/
Signed-off-by: Zhenbo Gao <zhenbo.gao at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/groff/groff_1.22.3.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-extended/groff/groff_1.22.3.bb b/meta/recipes-extended/groff/groff_1.22.3.bb
index 4bffa81..af5acbe 100644
--- a/meta/recipes-extended/groff/groff_1.22.3.bb
+++ b/meta/recipes-extended/groff/groff_1.22.3.bb
@@ -56,6 +56,12 @@ do_install_append() {
if [ -e ${D}${libdir}/charset.alias ]; then
rm -rf ${D}${libdir}/charset.alias
fi
+
+ # awk is located at /usr/bin/, not /bin/
+ SPECIAL_AWK=`find ${D} -name special.awk`
+ if [ -f ${SPECIAL_AWK} ]; then
+ sed -i -e 's:#!.*awk:#! ${USRBINPATH}/awk:' ${SPECIAL_AWK}
+ fi
}
do_install_append_class-native() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list