From 39c9ce628fa7e9e9c079c27efbcd23178be231f7 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Tue, 17 Nov 2015 23:41:03 +0800 Subject: [PATCH] FormulaInstaller: don't try to build from source for interrupt Closes Homebrew/homebrew#46078. Signed-off-by: Xu Cheng --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 786927d4aa..5108958adb 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -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."