summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2016-08-24 17:12:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 23:02:48 +0100
commita3d9d310866fe37f9c072bc81203cbf1b7ca688b (patch)
treefdfb00d5af6784c5e5e52f64b24e5221432d937d /meta/recipes-extended
parentbc372d65bc395290e1b7132908a3b943e1b73144 (diff)
downloadopenembedded-core-a3d9d310866fe37f9c072bc81203cbf1b7ca688b.tar.gz
groff: correct the location path for awk
awk is located at /usr/bin/, but not /bin/ Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/groff/groff_1.22.3.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/groff/groff_1.22.3.bb b/meta/recipes-extended/groff/groff_1.22.3.bb
index 4bffa814ff..af5acbeb78 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() {