FormulaInstaller: don't try to build from source for interrupt
Closes Homebrew/homebrew#46078. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
74c0b1c56b
commit
39c9ce628f
@ -200,7 +200,7 @@ class FormulaInstaller
|
||||
formula.prefix.rmtree if formula.prefix.directory?
|
||||
formula.rack.rmdir_if_possible
|
||||
end
|
||||
raise if ARGV.homebrew_developer?
|
||||
raise if ARGV.homebrew_developer? || e.is_a?(Interrupt)
|
||||
@pour_failed = true
|
||||
onoe e.message
|
||||
opoo "Bottle installation failed: building from source."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user