From: Daniel Stenberg Date: Thu, 23 Sep 2021 11:17:23 +0000 (+0200) Subject: curl-openssl: pass argument to sed single-quoted X-Git-Tag: curl-7_80_0~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aaf5335187b6b4dfb6cdd212a55303db033fe13;p=thirdparty%2Fcurl.git curl-openssl: pass argument to sed single-quoted ... instead of using an escaped double-quote. This is an attempt to make this work better with ksh that otherwise would insist on a double escape! Reported-by: Randall S. Becker Fixes #7758 Closes #7764 --- diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4 index f844624893..e008c45133 100644 --- a/m4/curl-openssl.m4 +++ b/m4/curl-openssl.m4 @@ -66,7 +66,7 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_HEADERS], [ ;; *) if test "$curl_cv_have_def_OPENSSL_VERSION_STR" = "yes"; then - ver=`echo $curl_cv_def_OPENSSL_VERSION_STR | sed s/\"//g`; + ver=`echo $curl_cv_def_OPENSSL_VERSION_STR | sed 's/"//g'`; tst_vermaj=`echo $ver | cut -d. -f1` tst_vermin=`echo $ver | cut -d. -f2` tst_verfix=`echo $ver | cut -d. -f3`