diff options
| author | Max Howell | 2012-02-16 15:29:22 +0000 | 
|---|---|---|
| committer | Max Howell | 2012-02-16 15:29:36 +0000 | 
| commit | ec01869246a15760ac40cfd9ed570d8f3c3458cd (patch) | |
| tree | e4f7ee1d6a7841581f628447b8da9b5f46a716e4 /Library/Homebrew/utils.rb | |
| parent | bc76acd603c7e2f1922057a7829aea89a53ecc75 (diff) | |
| download | homebrew-ec01869246a15760ac40cfd9ed570d8f3c3458cd.tar.bz2 | |
Support Xcode 4.3 xcode-select being wrong
I installed Xcode 4.3 and xcode-select is wrong, so this will fix it for most users.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index b565d1988..c7da0db6c 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -290,6 +290,9 @@ module MacOS extend self          # we do this to support cowboys who insist on installing          # only a subset of Xcode          Pathname.new '/Developer' +      elsif File.directory? '/Applications/Xcode.app/Contents/Developer' +        # fallback for broken Xcode 4.3 installs +        Pathname.new '/Applications/Xcode.app/Contents/Developer'        else          nil        end  | 
