From 79cb3a568b3f7c7ea1f2fe42d37bc67aba40a6c9 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Sun, 8 Nov 2009 21:52:59 +0000 Subject: [PATCH] Fix miss-identification as `grub-mkimage' (and use `$0' when possible). --- util/i386/pc/grub-mkrescue.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/i386/pc/grub-mkrescue.in b/util/i386/pc/grub-mkrescue.in index da937768b..cc581bffe 100644 --- a/util/i386/pc/grub-mkrescue.in +++ b/util/i386/pc/grub-mkrescue.in @@ -36,7 +36,7 @@ grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}` # Print the usage. usage () { cat <. EOF @@ -67,7 +67,7 @@ for option in "$@"; do usage exit 0 ;; -v | --version) - echo "grub-mkrescue (GNU GRUB ${PACKAGE_VERSION})" + echo "$0 (GNU GRUB ${PACKAGE_VERSION})" exit 0 ;; --modules=*) modules=`echo "$option" | sed 's/--modules=//'` ;;