mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #5528 from MikeMcQuaid/no-bottle-fallback
Add HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK variable
This commit is contained in:
commit
4f17e2384a
@ -296,7 +296,9 @@ class FormulaInstaller
|
||||
formula.prefix.rmtree if formula.prefix.directory?
|
||||
formula.rack.rmdir_if_possible
|
||||
end
|
||||
raise if ARGV.homebrew_developer? || e.is_a?(Interrupt)
|
||||
raise if ARGV.homebrew_developer? ||
|
||||
e.is_a?(Interrupt) ||
|
||||
ENV["HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK"]
|
||||
|
||||
@pour_failed = true
|
||||
onoe e.message
|
||||
|
@ -218,6 +218,10 @@ Note that environment variables must have a value set to be detected. For exampl
|
||||
If set, Homebrew will not auto-update before running `brew install`,
|
||||
`brew upgrade` or `brew tap`.
|
||||
|
||||
* `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`:
|
||||
If set, Homebrew will fail if on the failure of installation from a bottle
|
||||
rather than falling back to building from source.
|
||||
|
||||
* `HOMEBREW_NO_COLOR`:
|
||||
If set, Homebrew will not print text with color added.
|
||||
|
||||
|
@ -1211,6 +1211,10 @@ Note that environment variables must have a value set to be detected. For exampl
|
||||
If set, Homebrew will not auto-update before running `brew install`,
|
||||
`brew upgrade` or `brew tap`.
|
||||
|
||||
* `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`:
|
||||
If set, Homebrew will fail if on the failure of installation from a bottle
|
||||
rather than falling back to building from source.
|
||||
|
||||
* `HOMEBREW_NO_COLOR`:
|
||||
If set, Homebrew will not print text with color added.
|
||||
|
||||
|
@ -1341,6 +1341,10 @@ If set, Homebrew will not send analytics\. See: \fIhttps://docs\.brew\.sh/Analyt
|
||||
If set, Homebrew will not auto\-update before running \fBbrew install\fR, \fBbrew upgrade\fR or \fBbrew tap\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_NO_BOTTLE_SOURCE_FALLBACK\fR
|
||||
If set, Homebrew will fail if on the failure of installation from a bottle rather than falling back to building from source\.
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_NO_COLOR\fR
|
||||
If set, Homebrew will not print text with color added\.
|
||||
.
|
||||
|
Loading…
x
Reference in New Issue
Block a user