diff options
| author | Max Howell | 2009-12-09 15:15:19 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-12 16:23:04 +0000 |
| commit | 3d38b0d2f2feb2c2a8fd183cac02a21cd4d0d097 (patch) | |
| tree | 23b930242bab83e25e59343eaea9956ac44525e8 /Library | |
| parent | 182697a131c035ac5324ff4a7df47e272b8e9933 (diff) | |
| download | homebrew-3d38b0d2f2feb2c2a8fd183cac02a21cd4d0d097.tar.bz2 | |
Better error message if exec fails
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index d11aeefd3..8c4614a3d 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -322,7 +322,10 @@ protected raise end end - rescue + rescue SystemCallError + # usually because exec could not be find the command that was requested + raise + rescue raise BuildError.new(cmd, args, $?) end |
