diff --git a/ChangeLog b/ChangeLog index 941ed9300..de80a9406 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-17 Colin Watson + + * util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence + from comment. + 2012-09-14 Colin Watson * grub-core/term/terminfo.c: Only fix up powerpc key repeat on diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in index beb52ee9b..a9f5809b2 100644 --- a/util/grub-mkconfig_lib.in +++ b/util/grub-mkconfig_lib.in @@ -255,10 +255,8 @@ version_find_latest () echo "$version_find_latest_a" } -# One layer of quotation is eaten by "" and the second by -# sed; so this turns ' into \'. Note that you must use the output of -# this function in a printf format string. - +# One layer of quotation is eaten by "" and the second by sed; so this turns +# ' into \'. grub_quote () { sed "s/'/'\\\\''/g" }