mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 14:40:22 +00:00
shims/shared/curl: fix regex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user