Merge pull request #10865 from Bo98/fi-active_spec-sanity

formula_installer: don't warn about bottles when active spec is HEAD
This commit is contained in:
Bo Anderson 2021-03-17 21:07:32 +00:00 committed by GitHub
commit 3c3bf1c74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -231,7 +231,7 @@ class FormulaInstaller
# TODO: re-enable this on Linux when we merge linuxbrew-core into
# homebrew-core and have full bottle coverage.
(OS.mac? || ENV["CI"]) &&
!build_from_source? && !build_bottle? &&
!build_from_source? && !build_bottle? && !formula.head? &&
formula.tap&.core_tap? && !formula.bottle_unneeded? &&
# Integration tests override homebrew-core locations
ENV["HOMEBREW_TEST_TMPDIR"].nil? &&