* util/grub.d/00_header.in: Don't use LANG if it's not set.

This commit is contained in:
Grégoire Sutre 2013-10-26 20:11:55 +02:00 committed by Vladimir Serbinenko
parent 4021132be2
commit f37bf9c778
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-10-26 Grégoire Sutre <gregoire.sutre@gmail.com>
* util/grub.d/00_header.in: Don't use LANG if it's not set.
2013-10-26 Grégoire Sutre <gregoire.sutre@gmail.com>
* util/grub-mkconfig.in: Replace $0 with $self.

View file

@ -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}