Bug#584812: grub-common: savedefault doesn't work anymore

Mario 'BitKoenig' Holbe Mario.Holbe at TU-Ilmenau.DE
Mon Jun 7 07:05:36 UTC 2010


On Sun, Jun 06, 2010 at 11:13:35PM +0100, Colin Watson wrote:
> On Sun, Jun 06, 2010 at 09:49:44PM +0200, Mario 'BitKoenig' Holbe wrote:
> prefix and root should never contain spaces, and I don't really want to
> uglify the generated configuration file by quoting those.  Could you
> please confirm that these parts of your diff are sufficient?
> 
> > -if [ ${prev_saved_entry} ]; then
> > -  set saved_entry=${prev_saved_entry}
> > +if [ "${prev_saved_entry}" ]; then
> > +  set saved_entry="${prev_saved_entry}"
> 
> > -  if [ -z ${boot_once} ]; then
> > -    saved_entry=${chosen}
> > +  if [ -z "${boot_once}" ]; then
> > +    saved_entry="${chosen}"

Yes, they are sufficient to make savedefault working again.


regards
   Mario
-- 
We know that communication is a problem, but the company is not going to
discuss it with the employees.
                       -- Switching supervisor, AT&T Long Lines Division
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100607/f8835a6f/attachment.pgp>


More information about the Pkg-grub-devel mailing list