diff mbox series

[2/2] contrib: oe-stylize: Use Python3 explicitly

Message ID 20230602135737.3833492-2-niko.mauno@vaisala.com
State Under Review
Headers show
Series [1/2] contrib: oe-stylize: Fix ambiguous variable names | expand

Commit Message

Niko Mauno June 2, 2023, 1:57 p.m. UTC
From: Niko Mauno <niko.mauno@vaisala.com>

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>
 contrib/oe-stylize.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


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,