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
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.