diff options
| author | Adam Vandenberg | 2010-08-11 20:43:31 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-11 20:43:31 -0700 |
| commit | 64cf554a7bf5e3f4212ebde7295df301241f679c (patch) | |
| tree | 50ba58f6b63fe78db8c6a45bef80f8f3c75de5b9 /bin | |
| parent | 7d7b5cfab0924ebce8f44b4688c4e9f4939faf1a (diff) | |
| download | brew-64cf554a7bf5e3f4212ebde7295df301241f679c.tar.bz2 | |
Fix uses/deps for Leopard
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -258,14 +258,14 @@ begin # For each formula given, show which other formulas depend on it. # We only go one level up, ie. direct dependencies. when 'uses' - puts *ARGV.formulae.map{ |f| Formula.all.select{ |ff| ff.deps.include? f.name }.map(&:name) }.flatten.uniq.sort + puts *ARGV.formulae.map{ |f| Formula.all.select{ |ff| ff.deps.include? f.name }.map{|f| f.name} }.flatten.uniq.sort when 'deps' require 'formula_installer' if ARGV.include?("-1") or ARGV.include?("--1") puts *ARGV.formulae.map{ |f| f.deps or [] }.flatten.uniq.sort else - puts *ARGV.formulae.map{ |f| FormulaInstaller.expand_deps(f).map(&:name) }.flatten.uniq.sort + puts *ARGV.formulae.map{ |f| FormulaInstaller.expand_deps(f).map{|f| f.name} }.flatten.uniq.sort end when 'cat' |
