From c5230035e5df31976285bf36141d89236416230d Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 8 Dec 2011 12:24:00 +0700 Subject: [PATCH] bootstrap: escape quotes properly in generated functions. * bootstrap: Although not a real bug, for consistency, be sure to correctly escape single quotes inside a single quoted function generator. Signed-off-by: Gary V. Vaughan --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 685e936da..cfcd8cef7 100755 --- a/bootstrap +++ b/bootstrap @@ -1018,7 +1018,7 @@ for tool in autoconf libtoolize autopoint; do # in order for `func_find_tool` to run. ${require_'$tool'-:} - printf '%s\n' "$buildreq" |func_grep_q '\''^[ ]*'$tool\'' || { + printf '\''%s\n'\'' "$buildreq" |func_grep_q '\''^[ ]*'$tool\'' || { func_extract_trace '$m' _G_version=$func_extract_trace_result test -n "$_G_version" && { -- 2.47.2