Skip to content
Snippets Groups Projects
Commit fb9b263b authored by Max Howell's avatar Max Howell
Browse files

Play nice with case-sensitive filesystems

parent 11953cbc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment