From c137aea04b0b17414f739316bd090f5f94b80445 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 11 Aug 2013 16:03:48 +0200 Subject: [PATCH] * util/grub-mkconfig.in: Fix detection of Emacs autosave files. --- ChangeLog | 4 ++++ util/grub-mkconfig.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e04d27816..0658222dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-08-11 Colin Watson + + * util/grub-mkconfig.in: Fix detection of Emacs autosave files. + 2013-08-08 Vladimir Testov * docs/grub.texi: Introduce terminal window position options: diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 8decc1d84..e720b2a13 100644 --- a/util/grub-mkconfig.in +++ b/util/grub-mkconfig.in @@ -240,7 +240,7 @@ for i in ${grub_mkconfig_dir}/* ; do # emacsen backup files. FIXME: support other editors *~) ;; # emacsen autosave files. FIXME: support other editors - \#*\#) ;; + */\#*\#) ;; *) if grub_file_is_not_garbage "$i" && test -x "$i" ; then echo