formula_installer: don't warn about bottles when active spec is HEAD

This commit is contained in:
Bo Anderson 2021-03-16 18:22:05 +00:00
parent 59ada80ca7
commit 248ca231a2
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

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? &&