aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-08-25 11:51:37 -0700
committerMike McQuaid2012-08-25 11:52:37 -0700
commit82d1310800dc225e8c561fb07c76a1e85434fdd4 (patch)
treed74a2b7780728fdab64f4a59b0fe3227e08aba5d /Library
parentd5b954ebd4c3c8c43584e04976da071c6ac76cf4 (diff)
downloadbrew-82d1310800dc225e8c561fb07c76a1e85434fdd4.tar.bz2
Check formula options properly to rule out bottle.
Fixes Homebrew/homebrew#14148.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/bottles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 6b8a4875a..7d725ccb7 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -12,7 +12,7 @@ def install_bottle? f
return true if ARGV.include? '--install-bottle'
not ARGV.build_from_source? \
and ARGV.bottles_supported? \
- and ARGV.options_only.empty? \
+ and ARGV.used_options(f).empty? \
and bottle_current?(f)
end