Xcode.prefix: remove osx-gcc-installer hack
This hack is starting to outlive its usefulness, and produces false positives. Fixes Homebrew/homebrew#28147.
This commit is contained in:
parent
7c3c67d722
commit
89692b34a8
@ -52,10 +52,6 @@ module OS
|
|||||||
if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \
|
if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \
|
||||||
and File.executable? "#{path}/usr/bin/make"
|
and File.executable? "#{path}/usr/bin/make"
|
||||||
path
|
path
|
||||||
elsif File.executable? '/Developer/usr/bin/make'
|
|
||||||
# we do this to support cowboys who insist on installing
|
|
||||||
# only a subset of Xcode
|
|
||||||
Pathname.new('/Developer')
|
|
||||||
elsif File.executable? "#{V4_BUNDLE_PATH}/Contents/Developer/usr/bin/make"
|
elsif File.executable? "#{V4_BUNDLE_PATH}/Contents/Developer/usr/bin/make"
|
||||||
# fallback for broken Xcode 4.3 installs
|
# fallback for broken Xcode 4.3 installs
|
||||||
Pathname.new("#{V4_BUNDLE_PATH}/Contents/Developer")
|
Pathname.new("#{V4_BUNDLE_PATH}/Contents/Developer")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user