mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
lcov: fix env command argument pass issue
when exec lcov in bash, the following error will appear: /usr/bin/env: 'perl -w': No such file or directory perl uses the -w option to enable many warnings. But the env command can't pass the argument to perl, instead it treate perl -w as a file. To fix this issue, just keep the origin perl path and not use env command. Signed-off-by: chunguang yang <chunguang.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
def2483db6
commit
0de62aa856
@ -23,6 +23,5 @@ SRC_URI[sha256sum] = "c282de8d678ecbfda32ce4b5c85fc02f77c2a39a062f068bd8e774d29d
|
||||
|
||||
do_install() {
|
||||
oe_runmake install PREFIX=${D}
|
||||
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/*
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user