Skip to content
Snippets Groups Projects
Unverified Commit e37d1d46 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6505 from sjackman/bottle-deps

Install bottle deps only when a bottle was poured
parents 0b0c619b 495d2e28
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,6 @@ class FormulaInstaller
dependent,
inherited_options.fetch(dependent.name, []),
)
pour_bottle = true if install_bottle_for?(dep.to_formula, build)
if dep.prune_from_option?(build)
Dependency.prune
......@@ -491,6 +490,8 @@ class FormulaInstaller
Dependency.prune
elsif dep.satisfied?(inherited_options[dep.name])
Dependency.skip
else
pour_bottle ||= install_bottle_for?(dep.to_formula, build)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment