aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 0ccf9292c..484ee429b 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -679,7 +679,8 @@ class Formula
def stable &block
return @stable unless block_given?
- instance_eval(&block)
+ @stable ||= SoftwareSpec.new
+ @stable.instance_eval(&block)
end
def bottle *, &block