Xcode: don't detect Mavericks CLT as Xcode.

This commit is contained in:
Mike McQuaid 2013-10-22 22:37:09 +01:00
parent a7c29271b8
commit 1be35f036e

View File

@ -49,7 +49,8 @@ module OS
def prefix def prefix
@prefix ||= begin @prefix ||= begin
path = Pathname.new(folder) path = Pathname.new(folder)
if path.absolute? and File.executable? "#{path}/usr/bin/make" if path != CLT::MAVERICKS_PKG_PATH and path.absolute? \
and File.executable? "#{path}/usr/bin/make"
path path
elsif File.executable? '/Developer/usr/bin/make' elsif File.executable? '/Developer/usr/bin/make'
# we do this to support cowboys who insist on installing # we do this to support cowboys who insist on installing