aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-10-26 16:14:41 +0100
committerBaptiste Fontaine2015-10-26 21:22:00 +0100
commitbe1ac34117fb950c02c194649e2bb05a6c11b1d9 (patch)
treef3e2dd0d47c2a31a77dc06dca6b63a8d5192b726 /Library
parenteb576b3e0bfed5a909fcddc1ad22b1ea14b07d88 (diff)
downloadbrew-be1ac34117fb950c02c194649e2bb05a6c11b1d9.tar.bz2
BottleDisableReason: enforce the use of :disable
Closes Homebrew/homebrew#45337. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 3d7f347b9..cff456fb4 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -58,7 +58,7 @@ end
# Used to annotate formulae that don't require compiling or cannot build bottle.
class BottleDisableReason
- SUPPORTED_TYPES = [:unneeded, :disabled]
+ SUPPORTED_TYPES = [:unneeded, :disable]
def initialize(type, reason)
@type = type