libparse-yapp-perl: update interpreter of yapp

Update interpreter on shebang line of script yapp to fix qa error:

ERROR: QA Issue: : /work/x86_64-linux/libparse-yapp-perl-native/1.21-r0/sysroot-destdir
/work/x86_64-linux/libparse-yapp-perl-native/1.21-r0/recipe-sysroot-native/usr/bin/yapp
maximum shebang size exceeded, the maximum size is 128. [shebang-size]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2022-07-04 23:48:11 +08:00 committed by Khem Raj
parent 01f98053ac
commit 4ca06e600d

View File

@ -18,4 +18,8 @@ S = "${WORKDIR}/Parse-Yapp-${PV}"
inherit cpan
do_install:append() {
sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/yapp
}
BBCLASSEXTEND = "native"