2009-12-08 Colin Watson <cjwatson@ubuntu.com>

* util/grub.d/00_header.in: Use `set var=val' rather than plain
	`var=val'.
	* util/grub-mkconfig_lib.in (save_default_entry): Likewise.
This commit is contained in:
Colin Watson 2009-12-08 01:01:21 +00:00
parent 47075ea3c7
commit b967a04d5b
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-12-08 Colin Watson <cjwatson@ubuntu.com>
* util/grub.d/00_header.in: Use `set var=val' rather than plain
`var=val'.
* util/grub-mkconfig_lib.in (save_default_entry): Likewise.
2009-12-08 Colin Watson <cjwatson@ubuntu.com>
* util/grub-reboot.in: Fix --version output.

View file

@ -93,7 +93,7 @@ convert_system_path_to_grub_path ()
save_default_entry ()
{
if [ "x${GRUB_DEFAULT}" = "xsaved" ] ; then
echo 'saved_entry=${chosen}'
echo 'set saved_entry=${chosen}'
echo 'save_env saved_entry'
fi
}

View file

@ -44,9 +44,9 @@ if [ -s \$prefix/grubenv ]; then
fi
set default="${GRUB_DEFAULT}"
if [ \${prev_saved_entry} ]; then
saved_entry=\${prev_saved_entry}
set saved_entry=\${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
set prev_saved_entry=
save_env prev_saved_entry
fi
EOF