diff options
| author | Jack Nagel | 2014-05-02 16:48:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-02 16:48:59 -0500 |
| commit | 6677cf336c3c9d82843c2dd83ffeffd33f66c55e (patch) | |
| tree | 47cb7a13fddae37bd652c32ae59d83395efb2905 /Library | |
| parent | 1c21941dd0506ed971aa92f3f43419a7f4bcfb10 (diff) | |
| download | homebrew-6677cf336c3c9d82843c2dd83ffeffd33f66c55e.tar.bz2 | |
Remove obsolete fallback for broken Xcode 4.3+
After recent cleanups the code in this branch should be unreachable, so
there is little point in keeping it around.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 284214b26..5982ab6be 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -5,7 +5,6 @@ module OS V4_BUNDLE_ID = "com.apple.dt.Xcode" V3_BUNDLE_ID = "com.apple.Xcode" - V4_BUNDLE_PATH = Pathname.new("/Applications/Xcode.app") def latest_version case MacOS.version @@ -39,13 +38,6 @@ module OS if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \ and File.executable? "#{path}/usr/bin/make" path - elsif File.executable? "#{V4_BUNDLE_PATH}/Contents/Developer/usr/bin/make" - # TODO Remove this branch when 10.10 is released - # This is a fallback for broken installations of Xcode 4.3+. Correct - # installations will be handled by the first branch. Pretending that - # broken installations are OK just leads to hard to diagnose problems - # later. - Pathname.new("#{V4_BUNDLE_PATH}/Contents/Developer") elsif (path = bundle_path) path += "Contents/Developer" path if File.executable? "#{path}/usr/bin/make" |
