aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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