mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
minifi-cpp: fix python shebang in minifi-python
Replace '/usr/bin/env python' with '/usr/bin/env python3' in the scripts
under ${libexecdir}/minifi-python.
Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
committed by
Anuj Mittal
parent
9e96944f42
commit
6b689aa132
@@ -179,6 +179,10 @@ do_install() {
|
||||
|
||||
sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/default/volatiles/99_minifi
|
||||
fi
|
||||
|
||||
for ss in $(find ${D}${libexecdir}/minifi-python -type f); do
|
||||
sed -i 's,/usr/bin/env python$,/usr/bin/env python3,' "$ss"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst:${PN}() {
|
||||
|
||||
Reference in New Issue
Block a user