mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Abort debug install if exit is not zero
This commit is contained in:
parent
e24e46c793
commit
dd7bdce89c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user