diff options
| author | Max Howell | 2012-02-29 01:28:23 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-29 01:28:23 +0000 |
| commit | fb9b263bc3b35f0b8735c7c2495d75c0cab43a34 (patch) | |
| tree | fbe9d13e14ef79a2c2826f0daec5af79f58d19ca /Library | |
| parent | 11953cbcb9fe33afcc8fff46622208523f3930e9 (diff) | |
| download | brew-fb9b263bc3b35f0b8735c7c2495d75c0cab43a34.tar.bz2 | |
Play nice with case-sensitive filesystems
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/--config.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb index 98b943b19..1d74bebf5 100644 --- a/Library/Homebrew/cmd/--config.rb +++ b/Library/Homebrew/cmd/--config.rb @@ -38,9 +38,9 @@ module Homebrew extend self def describe_x11 return "N/A" unless x11_installed? - return case x11_path = Pathname.new("/usr/x11").realpath.to_s - when "/usr/x11" then "/usr/x11" - else "/usr/x11 => #{x11_path}" + return case x11_path = Pathname.new("/usr/X11").realpath.to_s + when "/usr/X11" then "/usr/X11" + else "/usr/X11 => #{x11_path}" end end |
