[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub/grub-mkconfig export LANG=C
From: |
Carles Pina i Estany |
Subject: |
grub/grub-mkconfig export LANG=C |
Date: |
Sat, 24 Jan 2009 15:23:57 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello,
Doing some testing with gettext patch I see that grub-mkconfig is
(usually) overriding LANG variable to LANG=c
Actually there is some relevant parts:
----------
# XXX: should this be deprecated at some point?
if [ "x${GRUB_TERMINAL}" != "x" ] ; then
GRUB_TERMINAL_INPUT="${GRUB_TERMINAL}"
GRUB_TERMINAL_OUTPUT="${GRUB_TERMINAL}"
fi
echo "x${grub_prefix}/gfxterm.mod"
case x${GRUB_TERMINAL_OUTPUT} in
x)
# If this platform supports gfxterm, try to use it.
if test -e ${grub_prefix}/gfxterm.mod ; then
GRUB_TERMINAL_OUTPUT=gfxterm
fi
;;
xconsole | xserial | xofconsole | xgfxterm) ;;
*) echo "Invalid output terminal \"${GRUB_TERMINAL_OUTPUT}\"" >&2 ; exit 1 ;;
esac
...
# does our terminal support utf-8 ?
case ${GRUB_TERMINAL_OUTPUT} in
gfxterm) ;;
*)
# make sure all our children behave in conformance with ascii..
export LANG=C
;;
esac
----------
Since it starts saying that maybe it's deprecated, do you think that now it's
time to redo this part using another way? I think that, last months, has been
some changes or patches about terminal output and I don't know if there is
something pending in grub-mkconfig.
Thanks,
--
Carles Pina i Estany GPG id: 0x17756391
http://pinux.info
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grub/grub-mkconfig export LANG=C,
Carles Pina i Estany <=