aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index bcdd06014..d42cbc07f 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -135,7 +135,7 @@ module HomebrewEnvExtension
raise "GCC could not be found" if args[:force] and not File.exist? ENV['CC'] \
or (File.symlink? ENV['CC'] \
- and File.readlink(ENV['CC']) =~ 'llvm')
+ and File.readlink(ENV['CC']) =~ /llvm/)
end
alias_method :gcc_4_2, :gcc