diff options
| author | Chris Hoffman | 2010-06-17 10:53:23 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-17 09:39:41 -0700 |
| commit | fb490ae87d8ed279cb8c6421e1ed09e44e597adc (patch) | |
| tree | 05449191bd34607cc5a922d8d5ac51c06bfa2f15 /Library | |
| parent | 40c9fd98236f2fd4497b50c94603f9223b52054f (diff) | |
| download | homebrew-fb490ae87d8ed279cb8c6421e1ed09e44e597adc.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.rb | 2 |
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++" |
