Browse Source

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>
Niko Mauno 2 years ago
parent
commit
d9a96d0dd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/oe-stylize.py

+ 1 - 1
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,