diff options
Diffstat (limited to 'Library/Homebrew/cmd/commands.rb')
| -rw-r--r-- | Library/Homebrew/cmd/commands.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb index b9bbb12ec..1d765f57b 100644 --- a/Library/Homebrew/cmd/commands.rb +++ b/Library/Homebrew/cmd/commands.rb @@ -1,14 +1,4 @@ module Homebrew extend self - def paths - @paths ||= ENV['PATH'].split(File::PATH_SEPARATOR).collect do |p| - begin - File.expand_path(p).chomp('/') - rescue ArgumentError - onoe "The following PATH component is invalid: #{p}" - end - end.uniq.compact - end - def commands # Find commands in Homebrew/cmd cmds = (HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"). |
