aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMax Howell2009-11-06 17:06:12 +0000
committerMax Howell2009-11-07 18:22:36 +0000
commit1e879eaee8815eebd3bc3f5318f62d1e86b4d62a (patch)
tree2ef5b9b6507c4d763c425c5e125bd337a2d0283b /Library/Homebrew/formula.rb
parent0ec10c68ca93c86c61463349e455cd4179b64e16 (diff)
downloadbrew-1e879eaee8815eebd3bc3f5318f62d1e86b4d62a.tar.bz2
Propagate exit status in ExecutioError exception
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 6dca1faa2..0cf351ba2 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -235,7 +235,7 @@ protected
end
end
rescue
- raise BuildError.new(cmd, args)
+ raise BuildError.new(cmd, args, $?)
end
private