Don't fallback to building from source with HOMEBREW_INSTALL_FROM_API
This commit is contained in:
parent
5524b302d8
commit
8138d52ceb
@ -1163,6 +1163,8 @@ class FormulaInstaller
|
|||||||
|
|
||||||
if pour_bottle?(output_warning: true)
|
if pour_bottle?(output_warning: true)
|
||||||
formula.fetch_bottle_tab
|
formula.fetch_bottle_tab
|
||||||
|
elsif Homebrew::EnvConfig.install_from_api?
|
||||||
|
odie "Unable to build #{formula.name} from source with HOMEBREW_INSTALL_FROM_API."
|
||||||
else
|
else
|
||||||
formula.fetch_patches
|
formula.fetch_patches
|
||||||
formula.resources.each(&:fetch)
|
formula.resources.each(&:fetch)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user