aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Hoffman2010-06-17 10:53:23 -0500
committerAdam Vandenberg2010-06-17 09:39:41 -0700
commit154d0fa92d982bc485acb0922ec646caf87f0445 (patch)
treeb3f9c249e5e5503b260eaeb8ae822d2cfb426538 /Library
parent1d81d6b39302bc968397835da34db98ad0fb2200 (diff)
downloadbrew-154d0fa92d982bc485acb0922ec646caf87f0445.tar.bz2
Fix exception when installing with --use-llvm
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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 9ce298b05..551b2a0dd 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -21,7 +21,7 @@ module HomebrewEnvExtension
if MACOS_VERSION >= 10.6 and (ENV['HOMEBREW_USE_LLVM'] or ARGV.include? '--use-llvm')
# you can install Xcode wherever you like you know.
xcode_path = `/usr/bin/xcode-select -print-path`.chomp
- xcode_path = "/Developer" if xcode_prefix.to_s.empty?
+ xcode_path = "/Developer" if xcode_path.to_s.empty?
ENV['CC'] = "#{xcode_path}/usr/bin/llvm-gcc"
ENV['CXX'] = "#{xcode_path}/usr/bin/llvm-g++"