aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 11e1eecb7..66bf75d17 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -299,7 +299,9 @@ class Formula
end
def == other
- instance_of?(other.class) && name == other.name
+ instance_of?(other.class) &&
+ name == other.name &&
+ active_spec == other.active_spec
end
alias_method :eql?, :==