summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-23 13:17:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-23 16:05:28 +0200
commit7aaf5335187b6b4dfb6cdd212a55303db033fe13 (patch)
treec9b61132e580f1a62f146792144fec74711175c5
parent23ca537aa4a5f62a0c947ea1dfd5f90cedc04cb6 (diff)
downloadcurl-7aaf5335187b6b4dfb6cdd212a55303db033fe13.tar.gz
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
-rw-r--r--m4/curl-openssl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4
index f84462489..e008c4513 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`