diff options
| author | Nicolas Despres | 2012-04-20 17:07:45 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-05-05 12:24:56 -0500 |
| commit | c2fdcf1a3490106fbe9e7a1d03375b2a75304f0a (patch) | |
| tree | 98a218d2cf7aec6bf0858e8889cef10af565de42 /Library/Homebrew/cmd | |
| parent | 32ea2e3ad0b8cc3b159a154983e7a5f0f8728a46 (diff) | |
| download | brew-c2fdcf1a3490106fbe9e7a1d03375b2a75304f0a.tar.bz2 | |
Honor build options and bottles when upgrading
Fixes Homebrew/homebrew#11552.
Closes Homebrew/homebrew#11777.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/upgrade.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index d9c130972..566649ed3 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -54,6 +54,7 @@ module Homebrew extend self installer = FormulaInstaller.new(f, tab) installer.show_header = false + installer.install_bottle = install_bottle?(f) and tab.used_options.empty? oh1 "Upgrading #{f.name}" |
