This cuts the amount of custom code fairly drastically, applying the
same generic syntax across the different SSL/TLS enforced areas.
It also makes the failure message fit onto one terminal line, which
looks cleaner than the multi-line message we currently print
for standard-size Terminals.
Changes something like:
`ftp.gnu.org urls should be https://, not http:// (url is http://ftp.gnu.org/gnu/gawk/gawk-4.1.1.tar.xz)`
Into:
`Please use https:// for http://ftp.gnu.org/gnu/gawk/gawk-4.1.1.tar.xz`
References: Homebrew/homebrew#39421Homebrew/homebrew#39306ClosesHomebrew/homebrew#40054.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This defaults to the value that's in the bottle but that isn't
necessarily correct. For example, some Boxen modules will reuse our
old bottles and so if they are installed from there we should be sure
to set the tab's tap to the tap we've installed from rather than the one
set inside the bottle's tarball.
ClosesHomebrew/homebrew#40096.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Bored of dealing with the bottle conflicts errors here so I don't think
it's really worth working around.
ClosesHomebrew/homebrew#40097.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The xcrun script should be skipping the ENV directory when it scans
$PATH looking for tools to run. Unfortunately, the script compares the
paths found to the real path of the ENV directory (following symlinks),
but superenv was adding the nominal path to $PATH, not following
symlinks. As a consequence, platforms with Xcode < 4.3 would get into
infinite loops when trying to call non-system versions of gcc, as xcrun
calls the ENV version of gcc-X.X which calls xcrun and so on forever.
This commit changes superenv to follow symlinks when determining the bin
path to use.
FixesHomebrew/homebrew#33731.
ClosesHomebrew/homebrew#40062.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>