* util/grub-install_header: Set localedir here, since this file is
authorColin Watson <cjwatson@ubuntu.com>
Thu, 14 Nov 2013 16:45:27 +0000 (16:45 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Thu, 14 Nov 2013 16:45:27 +0000 (16:45 +0000)
where it's used.
* util/grub-install.in: Remove setting of localedir.
* util/grub-mkrescue.in: Likewise.

ChangeLog
util/grub-install.in
util/grub-install_header
util/grub-mkrescue.in

index 0807f1b..b86521b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-14  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub-install_header: Set localedir here, since this file is
+       where it's used.
+       * util/grub-install.in: Remove setting of localedir.
+       * util/grub-mkrescue.in: Likewise.
+
 2013-11-14  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * configure.ac: Move nm checks to the end.
index 4cddf5e..c022a6b 100644 (file)
@@ -22,7 +22,6 @@ sysconfdir="@sysconfdir@"
 
 host_os=@host_os@
 target=
-localedir="@datadir@/locale"
 
 grub_probe="${sbindir}/@grub_probe@"
 grub_editenv="${bindir}/@grub_editenv@"
index 26013fe..2759ae8 100644 (file)
@@ -29,6 +29,7 @@ datadir="@datadir@"
 if [ "x$pkgdatadir" = x ]; then
     pkgdatadir="${datadir}/@PACKAGE@"
 fi
+localedir="@datadir@/locale"
 
 self=`basename $0`
 
index 5a04ec4..444ef85 100644 (file)
@@ -44,8 +44,6 @@ product_version="${PACKAGE_VERSION}"
 
 xorriso=xorriso
 
-localedir="@datadir@/locale"
-
 # Usage: usage
 # Print the usage.
 usage () {