bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31679] grub-mkconfig fails to add 40_custom correctly if last line


From: Barry Jackson
Subject: [bug #31679] grub-mkconfig fails to add 40_custom correctly if last line has no line-feed
Date: Wed, 17 Nov 2010 13:22:16 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:2.0b7) Gecko/20100101 Firefox/4.0b7

Follow-up Comment #2, bug #31679 (project grub):

It may be invalid, but how is the average user to know that?
All I did was to stop typing without hitting return at the end of the last
line.
This can be fixed with one "echo", so why leave it potentially broken?

--- grub/util/grub-mkconfig.in~ 2010-11-17 13:04:07.000000000 +0000
+++ grub/util/grub-mkconfig.in  2010-11-17 13:04:04.000000000 +0000
@@ -285,6 +285,7 @@
         echo
         echo "### BEGIN $i ###"
         "$i"
+        echo
         echo "### END $i ###"
       fi
     ;;

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31679>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]