From 5dd39a2f3bf0c90302dbab33f4a14f8d31741f55 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Tue, 17 Nov 2009 11:32:05 +0000 Subject: [PATCH] Use proper path for gettext.sh and export TEXTDOMAINDIR. --- util/grub.d/10_linux.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 65daf0da6..8803055cf 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -18,11 +18,13 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ +bindir=@bindir@ libdir=@libdir@ . ${libdir}/grub/grub-mkconfig_lib -. /usr/bin/gettext.sh +. ${bindir}/gettext.sh export TEXTDOMAIN=@PACKAGE@ +export TEXTDOMAINDIR=@LOCALEDIR@ if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then OS=GNU/Linux