diff options
Diffstat (limited to 'import-layers/yocto-poky/bitbake/bin/bitbake')
-rwxr-xr-x | import-layers/yocto-poky/bitbake/bin/bitbake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/import-layers/yocto-poky/bitbake/bin/bitbake b/import-layers/yocto-poky/bitbake/bin/bitbake index b03683e12..2a4fc7203 100755 --- a/import-layers/yocto-poky/bitbake/bin/bitbake +++ b/import-layers/yocto-poky/bitbake/bin/bitbake @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- # @@ -35,7 +35,10 @@ except RuntimeError as exc: from bb import cookerdata from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException -__version__ = "1.30.0" +if sys.getfilesystemencoding() != "utf-8": + sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.") + +__version__ = "1.32.0" if __name__ == "__main__": if __version__ != bb.__version__: |