aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 5c6637261..5f66b93e7 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -85,7 +85,15 @@ class FormulaInstaller
return false unless options.empty?
return false if formula.bottle_disabled?
return true if formula.local_bottle_path
- return false unless formula.pour_bottle?
+ unless formula.pour_bottle?
+ if install_bottle_options[:warn] && formula.pour_bottle_check_unsatisfied_reason
+ opoo <<-EOS.undent
+ Building #{formula.full_name} from source:
+ #{formula.pour_bottle_check_unsatisfied_reason}
+ EOS
+ end
+ return false
+ end
unless bottle.compatible_cellar?
if install_bottle_options[:warn]