]> git.ipfire.org Git - thirdparty/grub.git/commit
always define config_directory and config_file as full pathname
authorAndrey Borzenkov <arvidjaar@gmail.com>
Tue, 10 Dec 2013 05:55:27 +0000 (09:55 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Tue, 10 Dec 2013 05:55:27 +0000 (09:55 +0400)
commit9f2f979bcf7bfd6cef08c17b5a432444ac8603dc
tree2ebb49fd501bf98ebd29981b19f613adcb4e15af
parentdd73313cbafb7c6c87fb3a1159daa3639939f7d6
always define config_directory and config_file as full pathname

If configfile is relative pathname, extend it with current ($root) so its
interpretation does not change if $root is changed later.

Suggested by Vladimir Serbienko.
grub-core/normal/main.c