aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac
diff options
context:
space:
mode:
authorJack Nagel2013-06-15 19:51:35 -0500
committerJack Nagel2013-06-15 19:51:35 -0500
commitd98ff95b3e1bce206c1aef032c396ac0cb714da7 (patch)
tree8ffccb72ec9f5d55eb222c4392ff79d6da0d8d6c /Library/Homebrew/os/mac
parent49c9097b07c121d2d577f68e7148bc0dca10ea62 (diff)
downloadbrew-d98ff95b3e1bce206c1aef032c396ac0cb714da7.tar.bz2
These also get coerced to strings
Diffstat (limited to 'Library/Homebrew/os/mac')
-rw-r--r--Library/Homebrew/os/mac/xquartz.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb
index f5b85afd2..b7ecd856a 100644
--- a/Library/Homebrew/os/mac/xquartz.rb
+++ b/Library/Homebrew/os/mac/xquartz.rb
@@ -16,10 +16,10 @@ module MacOS::XQuartz extend self
# system X11 distribution, we can't get the version from pkgutil, so
# just use the expected version.
case MacOS.version
- when 10.5 then "2.1.6"
- when 10.6 then "2.3.6"
- when 10.7 then "2.6.3"
- else "dunno"
+ when '10.5' then '2.1.6'
+ when '10.6' then '2.3.6'
+ when '10.7' then '2.6.3'
+ else 'dunno'
end
else
# Finally, try to find it via pkgutil. This is slow, and only works