Use @PACKAGE@ instead of hardcoded name when sourcing grub-mkconfig_lib.

This commit is contained in:
Grégoire Sutre 2011-07-02 21:22:19 +02:00
parent 548947916b
commit 77546584e1
11 changed files with 24 additions and 10 deletions

View file

@ -25,7 +25,7 @@ libdir=@libdir@
locale_dir=`echo ${GRUB_PREFIX}/locale | sed ${transform}`
grub_lang=`echo $LANG | cut -d . -f 1`
. ${libdir}/grub/grub-mkconfig_lib
. ${libdir}/@PACKAGE@/grub-mkconfig_lib
# Do this as early as possible, since other commands might depend on it.
# (e.g. the `loadfont' command might need lvm or raid modules)