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 ...@@ -266,7 +266,7 @@ def resolveDependenciesAndInstall
search origin search origin
install install
rescue InstallError => e rescue InstallError => e
puts "#{@pkg.name} failed to install: #{e.to_s}" abort "#{@pkg.name} failed to install: #{e.to_s}"
ensure ensure
#cleanup #cleanup
unless ARGV[2] == 'keep' 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