mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
groff: fix PERLPATH
There is no PERLPATH, but "${USRBINPATH}/env perl".
(From OE-Core rev: 103d668cece420447c12987119459ebd49c208df)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
562cc69238
commit
037aa4af3a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user