From 748783b30bc51cb01ccb28f47215a1064fbf8b1f Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Tue, 11 Apr 2017 20:51:46 +0900 Subject: [PATCH] Changed to abort just after errors. `crew upgrade` sometimes continuously trying to install multiple packages even there are errors in the middle of compilation. This solves such problems. --- crew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crew b/crew index 51d701eb9c..3a48b60a80 100755 --- a/crew +++ b/crew @@ -266,7 +266,7 @@ def resolveDependenciesAndInstall search origin install rescue InstallError => e - puts "#{@pkg.name} failed to install: #{e.to_s}" + abort "#{@pkg.name} failed to install: #{e.to_s}" ensure #cleanup unless ARGV[2] == 'keep'