From 7aaf5335187b6b4dfb6cdd212a55303db033fe13 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Sep 2021 13:17:23 +0200 Subject: [PATCH] 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 --- m4/curl-openssl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`