diff options
author | Niko Mauno <niko.mauno@vaisala.com> | 2023-06-02 13:57:37 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-06-04 22:29:46 -0700 |
commit | d9a96d0dd2c695beab0d3eb80eadc8339e86a3ec (patch) | |
tree | bb6cb47a28d860304d63f0a42665e541e129a204 /contrib | |
parent | ef36ba48f75269520bd2b167ba117991b68a51ef (diff) | |
download | meta-openembedded-d9a96d0dd2c695beab0d3eb80eadc8339e86a3ec.tar.gz |
contrib: oe-stylize: Use Python3 explicitly
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 <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/oe-stylize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oe-stylize.py b/contrib/oe-stylize.py index 1ef6391b6a..1fb0a5bcc0 100755 --- a/contrib/oe-stylize.py +++ b/contrib/oe-stylize.py | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | """\ | 3 | """\ |
4 | Sanitize a bitbake file following the OpenEmbedded style guidelines, | 4 | Sanitize a bitbake file following the OpenEmbedded style guidelines, |