aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-08-10 18:16:47 +0100
committerMax Howell2009-08-10 18:16:47 +0100
commit371786ec963d034255469fbda70e8eba40f2714c (patch)
tree2e1c4378370aa2799aa378b60d10d0c4d938487f /Library
parent408762e6c2388edb9ed1958b423deacbdb3fe769 (diff)
downloadhomebrew-371786ec963d034255469fbda70e8eba40f2714c.tar.bz2
Abort debug install if exit is not zero
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index f01798eba..a7bcaf144 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -104,6 +104,7 @@ class AbstractFormula
puts "Type `exit' and Homebrew will attempt to finalize the installation"
puts "If nothing is installed to #{prefix}, then Homebrew will abort"
interactive_shell
+ raise "Non-zero exit status, installation aborted" if $? != 0
end
end
end