Hi!
I just found a small "bug" in "grub-mkconfig". On running, the script
checks for emacsen backup files ending with a tilde (~) and excludes
such files from being parsed.
However, emacsen do also write auto-save files which start and end with
a hash (#, see Emacs manual, section "22.6.1 Auto-Save Files"). I have
thus included a patch to exclude auto-save files from being parsed.
Best regards,
Martin (from Germany)
--
www.mzuther.de
www.radix-musik.de
--- grub-mkconfig~ 2010-10-06 14:22:53.000000000 +0200
+++ grub-mkconfig 2011-04-03 23:24:30.711109731 +0200
@@ -290,4 +290,5 @@
# emacsen backup files. FIXME: support other editors
*~) ;;
+ *#) ;;
*)
if grub_file_is_not_garbage "$i" && test -x "$i" ; then
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub