Skip to contentSkip to conversation

libmodule-build-perl: Use env utility to find perl interpreter

PATCH New Khem Raj 1 participant 1 message Jul 7, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libmodule-build-perl: Use env utility to find perl interpreter

Fixes
ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size]

---
 meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb +1 -0
index e2c79d962be..881d5e672e6 100644
@@ -37,6 +37,7 @@ EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
 
 do_install:append () {
         rm -rf ${D}${docdir}/perl/html
+        sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/config_data
 }
 
 do_install_ptest() {
Signature · 1 line
2.37.0