From 103d668cece420447c12987119459ebd49c208df Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 14 Jul 2014 06:33:16 -0700 Subject: groff: fix PERLPATH There is no PERLPATH, but "${USRBINPATH}/env perl". Signed-off-by: Robert Yang Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/groff/groff_1.18.1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 38e1d36b83..7fbce9bc4a 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 -- cgit v1.2.3