]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-openssl: pass argument to sed single-quoted
authorDaniel Stenberg <daniel@haxx.se>
Thu, 23 Sep 2021 11:17:23 +0000 (13:17 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Sep 2021 14:05:28 +0000 (16:05 +0200)
... 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

index f844624893f88bc50de46e5cc607851e7f16ac89..e008c45133bc118a0540a9cd32ffd6f6361b557a 100644 (file)
@@ -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`