commit: 0785165ca64b8e6396a24043789d0bfb8b3359d3 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sat Feb 6 16:18:10 2021 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sat Feb 6 16:18:10 2021 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0785165c
genkernel: normalize locales We need to ensure we are using same locales within genkernel because some regular expressions or program output we parse maybe different depending on used locales. Bug: https://bugs.gentoo.org/763165 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> genkernel | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/genkernel b/genkernel index 6ec8905..85c2021 100755 --- a/genkernel +++ b/genkernel @@ -4,6 +4,12 @@ PATH="${PATH}:/sbin:/usr/sbin" GK_V='4.1.2' +# Normalize locales +export LC_ALL=C +export LANG=C +unset LC_MESSAGES +unset LC_CTYPE + GK_TIME_START=$(date +%s) TODEBUGCACHE=yes # Until an error occurs or LOGFILE is fully qualified.