aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-07-01 17:56:58 +0800
committerKhem Raj <raj.khem@gmail.com>2021-07-01 08:09:38 -0700
commit7b5b96b4445ee57eca4cc442fb917856e52734bc (patch)
treec7d30c8e4a992602ca3f00e0e63e319bf51ee988
parent141f1a240908dd20b19d0dfd5ad4170ce19d7153 (diff)
downloadmeta-openembedded-contrib-7b5b96b4445ee57eca4cc442fb917856e52734bc.tar.gz
meta-openembedded-contrib-7b5b96b4445ee57eca4cc442fb917856e52734bc.tar.bz2
meta-openembedded-contrib-7b5b96b4445ee57eca4cc442fb917856e52734bc.zip
samba: fix shebang for pidl
The shebang in pidl points to wrong location: $ pidl -sh: /usr/bin/pidl: /buildarea/build/tmp-glibc/hosttools/env: bad interpreter: No such file or directory Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.14.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb
index 018bbf1632..49259c7e21 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.14.5.bb
@@ -211,7 +211,7 @@ do_install_append() {
oe_runmake -C ${S}/pidl DESTDIR=${D} install_vendor
find ${D}${libdir}/ -type f -name "perllocal.pod" | xargs rm -f
rm -rf ${D}${libdir}/perl5/vendor_perl/${PERLVERSION}/${BUILD_SYS}/auto/Parse/Pidl/.packlist
-
+ sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${bindir}/pidl
}
PACKAGES =+ "${PN}-python3 ${PN}-pidl \