From: Gary V. Vaughan Date: Thu, 8 Dec 2011 05:24:00 +0000 (+0700) Subject: bootstrap: escape quotes properly in generated functions. X-Git-Tag: v2.4.2.418~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aead37d19ed17f1391f373c9599477e0e178cf0c;p=thirdparty%2Flibtool.git 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 --- diff --git a/bootstrap b/bootstrap index bfdbfbdc4..28f85b03b 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" && {