aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-01-09 11:06:17 +0000
committerMike McQuaid2016-02-18 10:21:20 +0000
commit26ec9f9ea08978d15e329c3cb4d1df738be466e0 (patch)
treed3a3d774af9c94dcbcbe43e85c109b3f433346ba /Library/Homebrew/software_spec.rb
parent74858b28c5c66a792718b2b3d694ce8dc4144857 (diff)
downloadbrew-26ec9f9ea08978d15e329c3cb4d1df738be466e0.tar.bz2
formula: add new pour_bottle DSL with reason.
This allows there to be a user-visible description of why a bottle is not being installed.
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index 41e2803bd..8f5f7c178 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -351,7 +351,7 @@ class PourBottleCheck
end
def reason(reason)
- @formula.pour_bottle_check_unsatisfied_reason(reason)
+ @formula.pour_bottle_check_unsatisfied_reason = reason
end
def satisfy(&block)