]> code.ossystems Code Review - openembedded-core.git/commitdiff
texinfo: Fix path to perl for scripts
authorSaul Wold <sgw@linux.intel.com>
Sun, 4 Aug 2013 22:39:02 +0000 (15:39 -0700)
committerSaul Wold <sgw@linux.intel.com>
Tue, 6 Aug 2013 06:59:56 +0000 (23:59 -0700)
The 2 scripts texti2any and pod2tex referenced the /bin/perl directly, they
shoule be using ${USRBINPATH}/env perl.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/texinfo/texinfo_5.1.bb

index ad10e48a620b746bd23bf3b8b0fcd074cbdc1f33..0f4b4af3ae284e37c2a80decfd1a61dc4a56c0f2 100644 (file)
@@ -39,7 +39,9 @@ do_compile_prepend() {
 do_install_append() {
        mkdir -p ${D}${datadir}/${tex_texinfo}
        install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}         
+       sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
 }
+
 do_install_append_class-native() {
        install -m 755 info/makedoc ${D}${bindir}
 }