* util/grub-mkconfig.in: Fix detection of Emacs autosave files.
authorColin Watson <cjwatson@ubuntu.com>
Sun, 11 Aug 2013 14:03:48 +0000 (16:03 +0200)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 11 Aug 2013 14:03:48 +0000 (16:03 +0200)
ChangeLog
util/grub-mkconfig.in

index e04d278..0658222 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-11  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub-mkconfig.in: Fix detection of Emacs autosave files.
+
 2013-08-08  Vladimir Testov  <vladimir.testov@rosalab.ru>
 
        * docs/grub.texi: Introduce terminal window position options:
index 8decc1d..e720b2a 100644 (file)
@@ -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