diff options
| author | Bob W. Hogg | 2017-06-05 18:35:43 -0700 | 
|---|---|---|
| committer | Bob W. Hogg | 2017-06-05 18:35:43 -0700 | 
| commit | 51e83cdf91b22d9ddc592b4aff6c4126887bd9a4 (patch) | |
| tree | a13050a6189457bd819e4e3eecffea824105d7fe | |
| parent | 51aa2e3f4dd3276912cc5b42e4eca50ac6028989 (diff) | |
| download | brew-51e83cdf91b22d9ddc592b4aff6c4126887bd9a4.tar.bz2 | |
cmd/reinstall: Fix reinstallation of formulae without bottles
Reinstallation of non-bottled formulae was failing because it
used a deprecated method.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
| -rw-r--r-- | Library/Homebrew/cmd/reinstall.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index c625d2d97..7ba57fd13 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -34,7 +34,7 @@ module Homebrew      fi = FormulaInstaller.new(f)      fi.options              = options      fi.invalid_option_names = build_options.invalid_option_names -    fi.build_bottle         = ARGV.build_bottle? || (!f.bottled? && f.build.build_bottle?) +    fi.build_bottle         = ARGV.build_bottle? || (!f.bottled? && f.build.bottle?)      fi.build_from_source    = ARGV.build_from_source? || ARGV.build_all_from_source?      fi.force_bottle         = ARGV.force_bottle?      fi.interactive          = ARGV.interactive? | 
