aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNiko Mauno <niko.mauno@vaisala.com>2023-06-02 13:57:37 +0000
committerKhem Raj <raj.khem@gmail.com>2023-06-04 22:29:46 -0700
commitd9a96d0dd2c695beab0d3eb80eadc8339e86a3ec (patch)
treebb6cb47a28d860304d63f0a42665e541e129a204 /contrib
parentef36ba48f75269520bd2b167ba117991b68a51ef (diff)
downloadmeta-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-xcontrib/oe-stylize.py2
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 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""\
Sanitize a bitbake file following the OpenEmbedded style guidelines,