From 20b4e95c3d5cc22c0a2e3231491980dbc7bb1646 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 20 Oct 2021 18:12:27 +0100 Subject: [PATCH] shims/shared/curl: fix regex --- Library/Homebrew/shims/shared/curl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/shims/shared/curl b/Library/Homebrew/shims/shared/curl index cab048b624..4476dc782c 100755 --- a/Library/Homebrew/shims/shared/curl +++ b/Library/Homebrew/shims/shared/curl @@ -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