summaryrefslogtreecommitdiff
path: root/poky/bitbake/bin/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'poky/bitbake/bin/bitbake')
-rwxr-xr-xpoky/bitbake/bin/bitbake3
1 files changed, 1 insertions, 2 deletions
diff --git a/poky/bitbake/bin/bitbake b/poky/bitbake/bin/bitbake
index 042c91807d..0b9cc6297c 100755
--- a/poky/bitbake/bin/bitbake
+++ b/poky/bitbake/bin/bitbake
@@ -25,8 +25,7 @@ except RuntimeError as exc:
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
-if sys.getfilesystemencoding() != "utf-8":
- sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.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.")
+bb.utils.check_system_locale()
__version__ = "2.0.0"