aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 497f2a2ef..1e5d402ec 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -19,7 +19,12 @@ class FormulaInstaller
@f.recursive_deps.each do |dep|
FormulaInstaller.install_formula dep unless dep.installed?
end
- FormulaInstaller.check_external_deps @f
+ begin
+ FormulaInstaller.check_external_deps @f
+ rescue UnsatisfiedExternalDependencyError => e
+ onoe e.message
+ exit! 1
+ end
end
FormulaInstaller.install_formula @f
end