bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub-mkconfig outputs config with wrong indentation


From: Merlin Büge
Subject: grub-mkconfig outputs config with wrong indentation
Date: Fri, 26 Jul 2019 23:33:54 +0200

Hello all,


this is my first bug report here and I'm not subscribed to the list, so
please CC me when replying... thanks!

I noticed that grub-mkconfig apparently outputs a configuration, which
partly has a wrong indentation. This is on a current archlinux system
with GRUB2 from the official repository installed.

I've attached the configuration file which gets generated by
grub-mkconfig on an archlinux system. I think the part after line 62
should be indented one step, if I'm not mistaken. This is not a big deal
per se, but can lead to human mis-interpretation of the code (it just
happened to me; that's why I'm reporting it! :)

I also noticed that some lines end like
        ]; then
but some end like
        ] ; then
... which also is not a big deal per se, but... it's not consistent, and
maybe there is one more bug hiding? ;)

Here is how it is compiled:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/grub
The relevant code generating the configuration doesn't seem to get patched
by archlinux.

The /etc/default/grub file looks like this:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/grub.default?h=packages/grub


I just wanted to report this, in case it's relevant.

Thanks!

-- 
Merlin Büge

Attachment: grub.cfg
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]