From: Niko Mauno <[email protected]> For instance on Debian based host OS 'python' is not provided by default, which results is following error when trying to execute oe-stylize.py script:
/usr/bin/env: ‘python’: No such file or directory Update the shebang to explicitly reference 'python3' instead of 'python', which should make the script better out-of-the-box compatible with larger variety of host OSes on which Yocto based development work takes place. Signed-off-by: Niko Mauno <[email protected]> --- contrib/oe-stylize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py index 1ef6391b6..1fb0a5bcc 100755 --- a/contrib/oe-stylize.py +++ b/contrib/oe-stylize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """\ Sanitize a bitbake file following the OpenEmbedded style guidelines, -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#103099): https://lists.openembedded.org/g/openembedded-devel/message/103099 Mute This Topic: https://lists.openembedded.org/mt/99286673/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
