diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -71,10 +71,9 @@ begin # Add example external commands to PATH before checking. ENV['PATH'] += ":#{HOMEBREW_REPOSITORY}/Library/Contributions/examples" - if system "/usr/bin/which -s brew-#{cmd}" %w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e| - ENV["HOMEBREW_#{e}"] = eval "HOMEBREW_#{e}" + ENV["HOMEBREW_#{e}"] = Object.const_get "HOMEBREW_#{e}" end exec "brew-#{cmd}", *ARGV elsif require? `/usr/bin/which brew-#{cmd}.rb` |
