diff options
| author | Max Howell | 2012-10-31 11:27:30 -0400 |
|---|---|---|
| committer | Max Howell | 2012-10-31 11:28:29 -0400 |
| commit | beb5f9761415899f587a0a61ec795381b9e1764b (patch) | |
| tree | 89237217fc0bfeb02f9353626258ed1b266b6ac0 /Library | |
| parent | 394549dd3d7580327e34f57a85b4e6aab5b103d9 (diff) | |
| download | brew-beb5f9761415899f587a0a61ec795381b9e1764b.tar.bz2 | |
Fix build failure being non-verbose when --verbose
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 699b57552..03d9dde62 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -546,10 +546,11 @@ protected f.puts require 'cmd/--config' Homebrew.write_build_config(f) - raise BuildError.new(self, cmd, args, $?) + raise ErrorDuringExecution end end - + rescue ErrorDuringExecution => e + raise BuildError.new(self, cmd, args, $?) ensure f.close if f removed_ENV_variables.each do |key, value| |
