* util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence

from comment.
This commit is contained in:
Colin Watson 2012-09-17 16:58:50 +01:00
parent dfd39dbdea
commit a2fc392426
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2012-09-17 Colin Watson <cjwatson@debian.org>
* util/grub-mkconfig_lib.in (grub_quote): Remove outdated sentence
from comment.
2012-09-14 Colin Watson <cjwatson@ubuntu.com> 2012-09-14 Colin Watson <cjwatson@ubuntu.com>
* grub-core/term/terminfo.c: Only fix up powerpc key repeat on * grub-core/term/terminfo.c: Only fix up powerpc key repeat on

View file

@ -255,10 +255,8 @@ version_find_latest ()
echo "$version_find_latest_a" echo "$version_find_latest_a"
} }
# One layer of quotation is eaten by "" and the second by # One layer of quotation is eaten by "" and the second by sed; so this turns
# sed; so this turns ' into \'. Note that you must use the output of # ' into \'.
# this function in a printf format string.
grub_quote () { grub_quote () {
sed "s/'/'\\\\''/g" sed "s/'/'\\\\''/g"
} }