summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2023-07-12 14:00:48 +0800
committerKhem Raj <raj.khem@gmail.com>2023-07-12 22:09:38 -0700
commit090177211b2682d5ae3361e37d0d7f49667aa47a (patch)
treea37cd0e2ee80770072fd0b40fc6958ad081b9867 /dynamic-layers
parent6c835e5c4a7e6cfaf44d3714e6bd2e7b196a8378 (diff)
downloadmeta-clang-090177211b2682d5ae3361e37d0d7f49667aa47a.tar.gz
bcc: fix some of python script with wrong shebang
examples/tracing/nflatency.py has already upgraded the shebang to python3 on upstream, so when we apply the do_install:append function, the shebang of nflatency.py become /usr/bin/env python33 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb
index 530b468..105995d 100644
--- a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb
@@ -58,7 +58,7 @@ EXTRA_OECMAKE = " \
58do_install:append() { 58do_install:append() {
59 sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \ 59 sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \
60 -i $(find ${D}${datadir}/${PN} -type f) 60 -i $(find ${D}${datadir}/${PN} -type f)
61 sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ 61 sed -e 's@#!/usr/bin/python.*@#!/usr/bin/env python3@g' \
62 -i $(find ${D}${datadir}/${PN} -type f) 62 -i $(find ${D}${datadir}/${PN} -type f)
63} 63}
64 64