aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-01-13 09:45:45 -0800
committerMax Howell2010-01-16 15:33:31 +0000
commitbe842ee554f6720a202f0622000e142e3e4ab776 (patch)
tree4649668f13b5278b460e2d51cdbd16546683e3da /bin
parent0bc1127f543d3af65edf2c36d7b558217f943772 (diff)
downloadbrew-be842ee554f6720a202f0622000e142e3e4ab776.tar.bz2
Fixes Homebrew/homebrew#168 - don't show multiple copies of the same dep.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index d58ac6c96..c3c5938d1 100755
--- a/bin/brew
+++ b/bin/brew
@@ -293,6 +293,8 @@ begin
to_check.push(*formula.deps.select{|g| !checked[g]})
end
+ our_deps.uniq!
+
if our_deps.empty?
puts "#{name} has no dependencies."
else