mirror of
https://git.yoctoproject.org/poky
synced 2026-10-17 05:37:02 +00: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:
1 parent
562cc69238
commit
037aa4af3a
1 file changed
+1
-1
@@ -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