[oe-commits] Saul Wold : texinfo: Fix path to perl for scripts
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 6 11:53:57 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 6c4dda740fb7e05cb35c16db10a87426bc3ae3b3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6c4dda740fb7e05cb35c16db10a87426bc3ae3b3
Author: Saul Wold <sgw at linux.intel.com>
Date: Sun Aug 4 15:39:02 2013 -0700
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.
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-extended/texinfo/texinfo_5.1.bb | 2 ++
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 ad10e48..0f4b4af 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() {
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}
}
More information about the Openembedded-commits
mailing list