aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/upgrade.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-04-30 14:08:59 +1000
committerMike McQuaid2012-04-30 21:38:08 +0800
commit34c970b103f2dc725a02577dabcb4999fd4a32a0 (patch)
tree3b828650de71fbdc87c843a7c2d37686b4cc11c4 /Library/Homebrew/cmd/upgrade.rb
parentcd4f7c10cd97f8661b7b63b9348401416d86a6ab (diff)
downloadhomebrew-34c970b103f2dc725a02577dabcb4999fd4a32a0.tar.bz2
Add ofail command and fix bottle command output.
Diffstat (limited to 'Library/Homebrew/cmd/upgrade.rb')
-rw-r--r--Library/Homebrew/cmd/upgrade.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb
index 7b63e8039..d9c130972 100644
--- a/Library/Homebrew/cmd/upgrade.rb
+++ b/Library/Homebrew/cmd/upgrade.rb
@@ -66,8 +66,7 @@ module Homebrew extend self
installer.caveats
installer.finish
rescue CannotInstallFormulaError => e
- onoe e
- Homebrew.failed = true
+ ofail e
rescue BuildError => e
e.dump
puts