]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkconfig.in: Ignore non-option arguments, for
authorColin Watson <cjwatson@ubuntu.com>
Wed, 16 Jun 2010 11:51:26 +0000 (12:51 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 16 Jun 2010 11:51:26 +0000 (12:51 +0100)
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
util/grub-mkconfig.in

index 977c33306ac4e341602c634268c67ca59e6fb674..88e1e43d6e4e3d6cb5efe814cca1fbacbc35e6c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-16  Colin Watson  <cjwatson@ubuntu.com>
+
+       * 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  <gregoire.sutre@gmail.com>
 
        * Makefile.in (install-local): Use $$file.h2m instead of $$dest.h2m
index c9a6df4174c4947f7f2764d831869ed6dd60537b..7264235909bde9b28ef726e8676183d0980dfb51 100644 (file)
@@ -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