Fix universal option inheritance during upgrades
This commit is contained in:
parent
efe7fe77a1
commit
611f1a1b42
@ -323,11 +323,11 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
|
|
||||||
def inherited_options_for(dep)
|
def inherited_options_for(dep)
|
||||||
options = Options.new
|
inherited_options = Options.new
|
||||||
if f.build.universal? && !dep.build? && dep.to_formula.build.has_option?("universal")
|
if options.include?("universal") && !dep.build? && dep.to_formula.build.has_option?("universal")
|
||||||
options << Option.new("universal")
|
inherited_options << Option.new("universal")
|
||||||
end
|
end
|
||||||
options
|
inherited_options
|
||||||
end
|
end
|
||||||
|
|
||||||
def install_dependencies(deps)
|
def install_dependencies(deps)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user