From d9a96d0dd2c695beab0d3eb80eadc8339e86a3ec Mon Sep 17 00:00:00 2001 From: Niko Mauno Date: Fri, 2 Jun 2023 13:57:37 +0000 Subject: contrib: oe-stylize: Use Python3 explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj --- contrib/oe-stylize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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, -- cgit 1.2.3-korg