diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brew.h.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index 496e7afc0..de5048cc3 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -155,7 +155,7 @@ def expand_deps fae f.deps.each do |name| f = Formula.factory name deps << expand_deps(f) if f.deps # hideous inefficient - deps << f + deps << f unless f.installed? end when Hash # TODO implement optional and recommended @@ -166,6 +166,7 @@ def expand_deps fae end deps << f end + # TODO much more efficient to use a set and not recurse stuff already done return deps.flatten.uniq end |
