]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
authorColin Watson <cjwatson@ubuntu.com>
Mon, 5 Sep 2011 12:58:33 +0000 (13:58 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 5 Sep 2011 12:58:33 +0000 (13:58 +0100)
*/README* as well as README*.
Reported by: Axel Beckert.

ChangeLog
util/grub-mkconfig_lib.in

index ad7dea7c8ce753be52608265259173c837e2cccd..c84aa30aa78c013eed3088c4f65f57bbfebaa0d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-05  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Return 1 for
+       */README* as well as README*.
+       Reported by: Axel Beckert.
+
 2011-08-23  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
index 901b5752fab15d52feb2907bda52ca6f7de0a311..a453a6bb5ddc3b48763af1d24c38e80432e9d2f1 100644 (file)
@@ -157,7 +157,7 @@ grub_file_is_not_garbage ()
   if test -f "$1" ; then
     case "$1" in
       *.dpkg-*) return 1 ;; # debian dpkg
-      README*)  return 1 ;; # documentation
+      README*|*/README*)  return 1 ;; # documentation
     esac
   else
     return 1