mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 23:59:22 +00:00
* util/grub.d/00_header.in: Add safety check to make sure that
${locale_dir} exists before trying to probe it.
This commit is contained in:
1 parent
ca0afd5bab
commit
0b35b2a921
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* util/grub.d/00_header.in: Add safety check to make sure that
|
||||||
|
${locale_dir} exists before trying to probe it.
|
||||||
|
|
||||||
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and
|
* docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Gettext variables and module
|
# Gettext variables and module
|
||||||
if [ "x${LANG}" != "xC" ] ; then
|
if [ "x${LANG}" != "xC" ] && [ -d "${locale_dir}" ] ; then
|
||||||
prepare_grub_to_access_device $(${grub_probe} --target=device ${locale_dir})
|
prepare_grub_to_access_device $(${grub_probe} --target=device ${locale_dir})
|
||||||
cat << EOF
|
cat << EOF
|
||||||
set locale_dir=(\$root)$(make_system_path_relative_to_its_root ${locale_dir})
|
set locale_dir=(\$root)$(make_system_path_relative_to_its_root ${locale_dir})
|
||||||
|
|||||||
Reference in new issue
Block a user