diff --git a/ChangeLog b/ChangeLog index 752bde8aa..433417826 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-26 Felix Zielcke + + * util/grub-mkconfig.in (package_version): New variable. + Use it do display the version. + 2009-07-25 Felix Zielcke * kern/file.c (grub_file_open): Revert to previous check with diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 4eb7dd2ae..75a07e698 100644 --- a/util/grub-mkconfig.in +++ b/util/grub-mkconfig.in @@ -23,6 +23,7 @@ exec_prefix=@exec_prefix@ sbindir=@sbindir@ libdir=@libdir@ sysconfdir=@sysconfdir@ +package_version=@PACKAGE_VERSION@ grub_prefix=`echo /boot/grub | sed ${transform}` grub_cfg="" grub_mkconfig_dir=${sysconfdir}/grub.d @@ -52,7 +53,7 @@ for option in "$@"; do usage exit 0 ;; -v | --version) - echo "$0 (GNU GRUB ${PACKAGE_VERSION})" + echo "$0 (GNU GRUB ${package_version})" exit 0 ;; -o) shift