diff options
| author | Mike McQuaid | 2012-04-30 14:08:59 +1000 |
|---|---|---|
| committer | Mike McQuaid | 2012-04-30 21:38:08 +0800 |
| commit | fe969c21ad199ae27a113e9fb2f01c5bb3fbc942 (patch) | |
| tree | 41212e39638bc8598f2a44f7158615aad2ede1f3 /Library/Homebrew/utils.rb | |
| parent | a1ce504e7dd1d775d80f05128016d78b5c13383d (diff) | |
| download | brew-fe969c21ad199ae27a113e9fb2f01c5bb3fbc942.tar.bz2 | |
Add ofail command and fix bottle command output.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 138050460..3ae8e1181 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -55,6 +55,11 @@ end def ofail error onoe error + Homebrew.failed = true +end + +def odie error + onoe error exit 1 end |
