From: Grégoire Sutre Date: Sat, 26 Oct 2013 18:11:55 +0000 (+0200) Subject: * util/grub.d/00_header.in: Don't use LANG if it's not set. X-Git-Tag: grub-2.02-beta1~562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37bf9c7788ad5910342c75b770867a976e90168;p=thirdparty%2Fgrub.git * util/grub.d/00_header.in: Don't use LANG if it's not set. --- diff --git a/ChangeLog b/ChangeLog index 7eee527a5..86b5aab0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-10-26 Grégoire Sutre + + * util/grub.d/00_header.in: Don't use LANG if it's not set. + 2013-10-26 Grégoire Sutre * util/grub-mkconfig.in: Replace $0 with $self. diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in index 2c4bb0a6f..983872035 100644 --- a/util/grub.d/00_header.in +++ b/util/grub.d/00_header.in @@ -191,7 +191,7 @@ EOF EOF # Gettext variables and module -if [ "x${LANG}" != "xC" ] ; then +if [ "x${LANG}" != "xC" ] && [ "x${LANG}" != "x" ]; then cat << EOF set locale_dir=\$prefix/locale set lang=${grub_lang}