diff options
| author | Jack Nagel | 2014-05-02 12:59:37 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-05-02 12:59:37 -0500 | 
| commit | a8884370931a4e257a0afce9a79575cf3bb79508 (patch) | |
| tree | cb720fb50242c2e641895240a7390675de022b56 /Library/brew.rb | |
| parent | 4a7251492b41b6af6e14963bdc2ee087c641a99d (diff) | |
| download | homebrew-a8884370931a4e257a0afce9a79575cf3bb79508.tar.bz2 | |
Use File::PATH_SEPARATOR
Diffstat (limited to 'Library/brew.rb')
| -rwxr-xr-x | Library/brew.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/Library/brew.rb b/Library/brew.rb index ae9b37d6b..4874aeb96 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -100,7 +100,8 @@ begin    end    # Add contributed commands to PATH before checking. -  ENV['PATH'] += ":#{HOMEBREW_CONTRIB}/cmd" +  ENV['PATH'] += "#{File::PATH_SEPARATOR}#{HOMEBREW_CONTRIB}/cmd" +    if require? HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"/cmd      Homebrew.send cmd.to_s.gsub('-', '_').downcase    elsif which "brew-#{cmd}" | 
