shims/shared/curl: fix regex

This commit is contained in:
Bo Anderson 2021-10-20 18:12:27 +01:00
parent 5a5a8d58b5
commit 20b4e95c3d
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

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