diff options
| author | Xu Cheng | 2015-09-25 17:52:45 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-09-26 13:51:56 +0800 |
| commit | 5045fc95bf91bbd0bf6d5b7612a9e664bdf80f6c (patch) | |
| tree | acdc7658fa3d84aaeec82c4e140cf0ed8b3394ec | |
| parent | be45e6a0c52b02508aef17f0a9b16ebf6976d006 (diff) | |
| download | brew-5045fc95bf91bbd0bf6d5b7612a9e664bdf80f6c.tar.bz2 | |
FormulaInstaller: raise if pouring bottle failed and no Xcode/CLT installed
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 62637d2ee..caf4a7475 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -190,6 +190,7 @@ class FormulaInstaller @pour_failed = true onoe e.message opoo "Bottle installation failed: building from source." + raise BuildToolsError.new([formula]) unless MacOS.has_apple_developer_tools? else @poured_bottle = true end |
