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.
parent eaea7cdb
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment