2010-02-14 Vladimir Serbinenko <phcoder@gmail.com>

* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Enclose
	set root in single quotes to prevent \, from being unescaped.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-02-14 14:47:50 +01:00
1 parent bc028f2f86
commit d27859b2ec
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ prepare_grub_to_access_device ()
# If there's a filesystem UUID that GRUB is capable of identifying, use it;
# otherwise set root as per value in device.map.
echo "set root=`${grub_probe} --device ${device} --target=drive`"
echo "set root='`${grub_probe} --device ${device} --target=drive`'"
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
fi