Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow optionally using Homebrew's curl #3482

Merged
merged 1 commit into from Nov 27, 2017

Conversation

MikeMcQuaid
Copy link
Member

If HOMEBREW_FORCE_BREWED_CURL is set then allow it to be used instead of the system curl.

Closes #3480.

If `HOMEBREW_FORCE_BREWED_CURL` is set then allow it to be used instead
of the system `curl`.
@@ -110,16 +110,18 @@ then
# Don't change this from Mac OS X to match what macOS itself does in Safari on 10.12
HOMEBREW_OS_USER_AGENT_VERSION="Mac OS X $HOMEBREW_MACOS_VERSION"

# The system Curl is too old for some modern HTTPS certificates on
# older macOS versions.
printf -v HOMEBREW_MACOS_VERSION_NUMERIC "%02d%02d%02d" ${HOMEBREW_MACOS_VERSION//./ }
if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "101000" ]]
then
HOMEBREW_SYSTEM_CURL_TOO_OLD="1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still used anywhere now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes: Library/Homebrew/extend/os/mac/development_tools.rb

@MikeMcQuaid MikeMcQuaid merged commit e41a0a3 into Homebrew:master Nov 27, 2017
@MikeMcQuaid MikeMcQuaid deleted the homebrew-curl branch November 27, 2017 09:32
@ilovezfs
Copy link
Contributor

🎊

@RandomDSdevel
Copy link
Contributor

RandomDSdevel commented Dec 6, 2017

@MikeMcQuaid, @ilovezfs, and/or @reitermarkus: Shouldn't HOMEBREW_FORCE_BREWED_CURL be documented in man brew now that this PR has added it? That's not addressed here.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants