Comment 4 for bug 537123

Revision history for this message
Axel Beckert (xtaran) wrote :

Hrm, I'd like to reopen this bug as I can reproduce this issue on Ubuntu Natty (grub-common 1.99~rc1-13ubuntu3) as well as Debian Sid (grub-common 1.99-11).

Problem seems that grub_file_is_not_garbage checks just for the file name ("README*"), but $1 contains the full path. So the line

      README*) return 1 ;; # documentation

should rather say something like:

      */README*) return 1 ;; # documentation

This fixes the issue for me.