aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/development_tools.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/os/mac/development_tools.rb')
-rw-r--r--Library/Homebrew/extend/os/mac/development_tools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb
index 1afab513b..d572bf28e 100644
--- a/Library/Homebrew/extend/os/mac/development_tools.rb
+++ b/Library/Homebrew/extend/os/mac/development_tools.rb
@@ -26,7 +26,7 @@ class DevelopmentTools
case default_cc
# if GCC 4.2 is installed, e.g. via Tigerbrew, prefer it
# over the system's GCC 4.0
- when /^gcc-4.0/ then gcc_42_build_version ? :gcc : :gcc_4_0
+ when /^gcc-4\.0/ then gcc_42_build_version ? :gcc : :gcc_4_0
when /^gcc/ then :gcc
when "clang" then :clang
else