Abort debug install if exit is not zero

This commit is contained in:
Max Howell 2009-08-10 18:16:47 +01:00
parent e24e46c793
commit dd7bdce89c

View File

@ -104,6 +104,7 @@ class AbstractFormula
puts "Type `exit' and Homebrew will attempt to finalize the installation" puts "Type `exit' and Homebrew will attempt to finalize the installation"
puts "If nothing is installed to #{prefix}, then Homebrew will abort" puts "If nothing is installed to #{prefix}, then Homebrew will abort"
interactive_shell interactive_shell
raise "Non-zero exit status, installation aborted" if $? != 0
end end
end end
end end