grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fix grub-mknetdir --help output


From: Andrey Borzenkov
Subject: [PATCH] fix grub-mknetdir --help output
Date: Sun, 23 Jun 2013 09:30:50 +0400

Remove stray line. It

a) incorrect, because grub-mknetdir does not install grub on hard drive
b) causes --help to fail immediately due to

Usage: grub-mknetdir [OPTION]
gettext: missing arguments

It was this way for quite some time, but became obvious only recently
when all utilities started to use "set -e" by default.

Signed-off-by: Andrey Borzenkov <address@hidden>

---
 util/grub-mknetdir.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/util/grub-mknetdir.in b/util/grub-mknetdir.in
index 97d4155..b7b59da 100644
--- a/util/grub-mknetdir.in
+++ b/util/grub-mknetdir.in
@@ -37,7 +37,6 @@ itanium_dir="${libdir}/@PACKAGE@/ia64-efi"
 # Print the usage.
 usage () {
     gettext_printf "Usage: %s [OPTION]\n" "$self"
-    gettext; echo "Install GRUB on your drive."; echo
     echo
     print_option_help "-h, --help" "$(gettext "print this message and exit")"
     grub_print_install_files_help
-- 
tg: (2cca311..) u/grub-mknetdir-gettext (depends on: master)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]