Merge pull request #12277 from Bo98/curl-fix

shims/shared/curl: fix regex
This commit is contained in:
Bo Anderson 2021-10-20 18:35:05 +01:00 committed by GitHub
commit 8f43b0a284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ then
set_certs=1
for arg in "$@"
do
if [[ "${arg}" =~ --ca(cert|path) ]]
if [[ "${arg}" =~ ^--ca(cert|path)$ ]]
then
# User passed their own settings - don't use ours!
set_certs=0