aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-06-06 08:07:15 +0100
committerGitHub2017-06-06 08:07:15 +0100
commit29d226825221b929cc248dca4178085867a2afc8 (patch)
treee2349f30be68b91fcc191ef6b8177001e5d5e24b /Library/Homebrew/cmd
parentc541b3867ac7612cdfa3c7b8626367bea3e8f3ec (diff)
parent51e83cdf91b22d9ddc592b4aff6c4126887bd9a4 (diff)
downloadbrew-29d226825221b929cc248dca4178085867a2afc8.tar.bz2
Merge pull request #2734 from rwhogg/fix-reinstall-without-bottle
cmd/reinstall: Fix reinstallation of formulae without bottles
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/reinstall.rb2
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?