Fix variable shadowing bug in requirement expansion
Long term we should probably rename the installer's "f" attribute to "formula".
This commit is contained in:
parent
0031e1947d
commit
72d74053a2
@ -254,9 +254,9 @@ class FormulaInstaller
|
||||
|
||||
if (req.optional? || req.recommended?) && build.without?(req)
|
||||
Requirement.prune
|
||||
elsif req.build? && dependent == f && pour_bottle?
|
||||
elsif req.build? && dependent == self.f && pour_bottle?
|
||||
Requirement.prune
|
||||
elsif req.build? && dependent != f && install_bottle_for_dep?(dependent, build)
|
||||
elsif req.build? && dependent != self.f && install_bottle_for_dep?(dependent, build)
|
||||
Requirement.prune
|
||||
elsif install_requirement_default_formula?(req, build)
|
||||
dep = req.to_dependency
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user