summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-08-04 15:39:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 12:39:57 +0100
commitb15101f7c968030093aa54c788956e2768536cef (patch)
tree9c40290633170a3c6540acc34e921865e3d32869
parent76f8dfe2ad742991b72c45c23f057d398bd2f0de (diff)
downloadpoky-b15101f7c968030093aa54c788956e2768536cef.tar.gz
texinfo: Fix path to perl for scripts
The 2 scripts texti2any and pod2tex referenced the /bin/perl directly, they shoule be using ${USRBINPATH}/env perl. (From OE-Core rev: 6c4dda740fb7e05cb35c16db10a87426bc3ae3b3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/texinfo/texinfo_5.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_5.1.bb b/meta/recipes-extended/texinfo/texinfo_5.1.bb
index ad10e48a62..0f4b4af3ae 100644
--- a/meta/recipes-extended/texinfo/texinfo_5.1.bb
+++ b/meta/recipes-extended/texinfo/texinfo_5.1.bb
@@ -39,7 +39,9 @@ do_compile_prepend() {
39do_install_append() { 39do_install_append() {
40 mkdir -p ${D}${datadir}/${tex_texinfo} 40 mkdir -p ${D}${datadir}/${tex_texinfo}
41 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo} 41 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
42 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
42} 43}
44
43do_install_append_class-native() { 45do_install_append_class-native() {
44 install -m 755 info/makedoc ${D}${bindir} 46 install -m 755 info/makedoc ${D}${bindir}
45} 47}