From: Colin Watson Date: Mon, 17 Sep 2012 15:58:50 +0000 (+0100) Subject: * util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence X-Git-Tag: grub-2.02-beta1~1423 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2fc39242638ab72c705eb56c45e251bf787cde5;p=thirdparty%2Fgrub.git * util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence from comment. --- 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" }