diff options
| author | Mike McQuaid | 2015-01-02 13:34:20 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2015-01-04 11:05:34 +0000 | 
| commit | 91c267bdb1607334febaac3272ccc62ada6ae4fd (patch) | |
| tree | db5bb6eadc9288564a60f11cb6c82468f19402f6 /Library/brew.rb | |
| parent | cdf2fe749044f03f2ca443d7b0d36930f34f90ba (diff) | |
| download | homebrew-91c267bdb1607334febaac3272ccc62ada6ae4fd.tar.bz2 | |
brew.rb: return exit code from internal commands.
Diffstat (limited to 'Library/brew.rb')
| -rwxr-xr-x | Library/brew.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/Library/brew.rb b/Library/brew.rb index 843853335..88a0f6cc8 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -133,6 +133,7 @@ begin    if internal_cmd      Homebrew.send cmd.to_s.gsub('-', '_').downcase +    exit 1 if Homebrew.failed?    elsif which "brew-#{cmd}"      %w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e|        ENV["HOMEBREW_#{e}"] = Object.const_get("HOMEBREW_#{e}").to_s | 
