Patchwork [1/1] groff: fix PERLPATH

login
register
mail settings
Submitter Robert Yang
Date July 15, 2014, 1:35 a.m.
Message ID <d704d7a6e31d4f3f7be98b5857f1d165f66f63e0.1405388079.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/75491/
State Accepted
Commit 037aa4af3ab62c43e1829bef005aa6eb81d1022c
Headers show

Comments

Robert Yang - July 15, 2014, 1:35 a.m.
There is no PERLPATH, but "${USRBINPATH}/env perl".

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/groff/groff_1.18.1.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/groff/groff_1.18.1.4.bb b/meta/recipes-extended/groff/groff_1.18.1.4.bb
index 38e1d36..7fbce9b 100644
--- a/meta/recipes-extended/groff/groff_1.18.1.4.bb
+++ b/meta/recipes-extended/groff/groff_1.18.1.4.bb
@@ -32,7 +32,7 @@  do_install_append() {
 	# for target as /usr/bin/perl, so fix it to /usr/bin/perl.
 	for i in afmtodit mmroff; do
 		if [ -f ${D}${bindir}/$i ]; then
-			sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/$i
+			sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
 		fi
 	done