From 044e2e60bed2f7f6e0495cb0b51137376179a788 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 16 Jun 2010 12:51:26 +0100 Subject: [PATCH] * util/grub-mkconfig.in: Ignore non-option arguments, for compatibility with older versions (before 2010-06-12) which did the same. In particular, this makes it easier to ship an update-grub wrapper which is compatible with that used with GRUB Legacy (Debian bug #586056). --- ChangeLog | 8 ++++++++ util/grub-mkconfig.in | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 977c33306..88e1e43d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-06-16 Colin Watson + + * util/grub-mkconfig.in: Ignore non-option arguments, for + compatibility with older versions (before 2010-06-12) which did the + same. In particular, this makes it easier to ship an update-grub + wrapper which is compatible with that used with GRUB Legacy (Debian + bug #586056). + 2010-06-14 Grégoire Sutre * Makefile.in (install-local): Use $$file.h2m instead of $$dest.h2m diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index c9a6df417..726423590 100644 --- a/util/grub-mkconfig.in +++ b/util/grub-mkconfig.in @@ -86,10 +86,7 @@ do usage exit 1 ;; - *) - echo "Invalid parameter, $option" 1>&2 - exit 1 - ;; + # Explicitly ignore non-option arguments, for compatibility. esac done