formula_installer: avoid cyclic dependency
Fixes: ==> Installing patchelf dependency: patchelf ==> Installing dependencies for patchelf: patchelf ==> Installing patchelf dependency: patchelf ==> Installing dependencies for patchelf: patchelf ==> Installing patchelf dependency: patchelf ==> Installing dependencies for patchelf: patchelf ...
This commit is contained in:
parent
15c62dfd01
commit
dc527fccdc
@ -502,7 +502,7 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if pour_bottle
|
if pour_bottle && !Keg.relocation_formulae.include?(formula.name)
|
||||||
bottle_deps = Keg.relocation_formulae
|
bottle_deps = Keg.relocation_formulae
|
||||||
.map { |formula| Dependency.new(formula) }
|
.map { |formula| Dependency.new(formula) }
|
||||||
.reject do |dep|
|
.reject do |dep|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user