diff options
Diffstat (limited to 'Library/brew.rb')
| -rwxr-xr-x | Library/brew.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/brew.rb b/Library/brew.rb index b6ebf9145..f60d3d426 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -91,7 +91,7 @@ begin        ENV["HOMEBREW_#{e}"] = Object.const_get "HOMEBREW_#{e}"      end      exec "brew-#{cmd}", *ARGV -  elsif require? `/usr/bin/which brew-#{cmd}.rb` +  elsif require? which("brew-#{cmd}.rb").to_s      exit 0    else      onoe "Unknown command: #{cmd}" | 
