brew.rb: remove unneeded exit code duplication.
Fixes comments made in:
91c267bdb1 (commitcomment-9146910).
This commit is contained in:
parent
fd8bb8776c
commit
3613f0349e
@ -133,7 +133,6 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user