diff --git a/eb_hooks.py b/eb_hooks.py index 01008f21da..f8d4a061e2 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -196,11 +196,11 @@ def parse_hook_pillow_set_cpath_library_path(ec, eprefix): def parse_hook_python_bare_set_LANG(ec, eprefix): - """Set the LANG variable to C.UTF-8 in case it was empty.""" + """Set the LANG variable to en_DK.UTF-8 in case it was empty.""" if ec.name == 'Python' and ec.version =='2.7.18' and os.getenv('LANG') is None: - print_msg("NOTE: The environment variable: LANG will be set to C") - ec.log.info("NOTE: The environment variable: LANG will be set to C") - os.environ['LANG'] = 'C' + print_msg("NOTE: The environment variable: LANG will be set to en_DK.UTF-8") + ec.log.info("NOTE: The environment variable: LANG will be set to en_DK.UTF-8") + os.environ['LANG'] = 'en_DK.UTF-8' def parse_hook_ucx_eprefix(ec, eprefix):