From 090177211b2682d5ae3361e37d0d7f49667aa47a Mon Sep 17 00:00:00 2001 From: Xiangyu Chen Date: Wed, 12 Jul 2023 14:00:48 +0800 Subject: 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 Signed-off-by: Khem Raj --- dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynamic-layers') 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 = " \ do_install:append() { sed -e 's@#!/usr/bin/env python@#!/usr/bin/env python3@g' \ -i $(find ${D}${datadir}/${PN} -type f) - sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ + sed -e 's@#!/usr/bin/python.*@#!/usr/bin/env python3@g' \ -i $(find ${D}${datadir}/${PN} -type f) } -- cgit v1.2.3-54-g00ecf