Fix miss-identification as grub-mkimage' (and use
$0' when possible).
This commit is contained in:
parent
ef4b915ad9
commit
79cb3a568b
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ grub_mkimage=${bindir}/`echo grub-mkimage | sed ${transform}`
|
||||||
# Print the usage.
|
# Print the usage.
|
||||||
usage () {
|
usage () {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: grub-mkrescue [OPTION] output_image
|
Usage: $0 [OPTION] output_image
|
||||||
Make GRUB rescue image.
|
Make GRUB rescue image.
|
||||||
|
|
||||||
-h, --help print this message and exit
|
-h, --help print this message and exit
|
||||||
|
@ -50,7 +50,7 @@ Make GRUB rescue image.
|
||||||
--emulation=TYPE select El Torito boot emulation type floppy
|
--emulation=TYPE select El Torito boot emulation type floppy
|
||||||
or none (default) (cdrom only)
|
or none (default) (cdrom only)
|
||||||
|
|
||||||
grub-mkimage generates a bootable rescue image of the specified type.
|
$0 generates a bootable rescue image of the specified type.
|
||||||
|
|
||||||
Report bugs to <bug-grub@gnu.org>.
|
Report bugs to <bug-grub@gnu.org>.
|
||||||
EOF
|
EOF
|
||||||
|
@ -67,7 +67,7 @@ for option in "$@"; do
|
||||||
usage
|
usage
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-v | --version)
|
-v | --version)
|
||||||
echo "grub-mkrescue (GNU GRUB ${PACKAGE_VERSION})"
|
echo "$0 (GNU GRUB ${PACKAGE_VERSION})"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
--modules=*)
|
--modules=*)
|
||||||
modules=`echo "$option" | sed 's/--modules=//'` ;;
|
modules=`echo "$option" | sed 's/--modules=//'` ;;
|
||||||
|
|
Loading…
Reference in a new issue