From f3d3bc436829b5e9212e052cec50cded80cea2df Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 23 Jan 2013 00:26:20 -0600 Subject: Move option comparison into BuildOptions --- Library/Homebrew/bottles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/bottles.rb') diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 49d0f7539..cc239bffc 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -15,7 +15,7 @@ def install_bottle? f and f.downloader.local_bottle_path not ARGV.build_from_source? \ and MacOS.bottles_supported? \ - and ARGV.used_options(f).empty? \ + and f.build.used_options.empty? \ and bottle_current?(f) end -- cgit v1.2.3