From dc527fccdc5a335375ca3f6475ea3ec06ba969d1 Mon Sep 17 00:00:00 2001 From: Michka Popoff Date: Mon, 6 Aug 2018 23:09:04 +0200 Subject: [PATCH] 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 ... --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index d9565ddd7c..66a44a9cde 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -502,7 +502,7 @@ class FormulaInstaller end end - if pour_bottle + if pour_bottle && !Keg.relocation_formulae.include?(formula.name) bottle_deps = Keg.relocation_formulae .map { |formula| Dependency.new(formula) } .reject do |dep|