2009-07-26 Felix Zielcke <fzielcke@z-51.de>
* util/grub-mkconfig.in (package_version): New variable. Use it do display the version.
This commit is contained in:
parent
2366e356ce
commit
880e0a0c70
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-07-26 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
|
* util/grub-mkconfig.in (package_version): New variable.
|
||||||
|
Use it do display the version.
|
||||||
|
|
||||||
2009-07-25 Felix Zielcke <fzielcke@z-51.de>
|
2009-07-25 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
* kern/file.c (grub_file_open): Revert to previous check with
|
* kern/file.c (grub_file_open): Revert to previous check with
|
||||||
|
|
|
@ -23,6 +23,7 @@ exec_prefix=@exec_prefix@
|
||||||
sbindir=@sbindir@
|
sbindir=@sbindir@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
sysconfdir=@sysconfdir@
|
sysconfdir=@sysconfdir@
|
||||||
|
package_version=@PACKAGE_VERSION@
|
||||||
grub_prefix=`echo /boot/grub | sed ${transform}`
|
grub_prefix=`echo /boot/grub | sed ${transform}`
|
||||||
grub_cfg=""
|
grub_cfg=""
|
||||||
grub_mkconfig_dir=${sysconfdir}/grub.d
|
grub_mkconfig_dir=${sysconfdir}/grub.d
|
||||||
|
@ -52,7 +53,7 @@ for option in "$@"; do
|
||||||
usage
|
usage
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-v | --version)
|
-v | --version)
|
||||||
echo "$0 (GNU GRUB ${PACKAGE_VERSION})"
|
echo "$0 (GNU GRUB ${package_version})"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-o)
|
-o)
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Add table
Reference in a new issue