aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-17 19:43:44 -0800
committerAdam Vandenberg2012-02-17 19:43:44 -0800
commitf2002c4558d8b3c759c22fcec0ed45b0619373e6 (patch)
treec3e6a87a14863e822f9aa97e54072d4ff38b18f2 /Library/Homebrew/extend
parentb0ece7613fe2a41f394666bf2946dd03fc2ea30b (diff)
downloadbrew-f2002c4558d8b3c759c22fcec0ed45b0619373e6.tar.bz2
This should be a regex
Diffstat (limited to 'Library/Homebrew/extend')
-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 f3ba9c0c5..c93224e9b 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 not File.exist? ENV['CC']
end
- if not ENV['CC'] =~ %{^/usr/bin/xcrun }
+ if not ENV['CC'] =~ %r{^/usr/bin/xcrun }
raise "GCC could not be found" if Pathname.new(ENV['CC']).realpath.to_s =~ /llvm/
end