* 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

@ -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"
}