Merge pull request #6510 from reitermarkus/curl-globbing

Disable `curl` globbing.
This commit is contained in:
Mike McQuaid 2019-10-01 08:19:03 +01:00 committed by GitHub
commit 0c26e032c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ def curl_args(*extra_args, show_output: false, user_agent: :default)
# do not load .curlrc unless requested (must be the first argument)
args << "-q" unless ENV["HOMEBREW_CURLRC"]
args << "--globoff"
args << "--show-error"
args << "--user-agent" << case user_agent