More specific test for default prefix

cf. Homebrew/homebrew#50154
This commit is contained in:
Tim D. Smith 2016-03-15 23:50:08 -07:00 committed by Xu Cheng
parent f30c264519
commit f0a5abe12e

View File

@ -144,7 +144,7 @@ module OS
if version < "4.3" if version < "4.3"
prefix.to_s.start_with? "/Developer" prefix.to_s.start_with? "/Developer"
else else
prefix.to_s.start_with? "/Applications/Xcode.app" prefix.to_s == "/Applications/Xcode.app/Contents/Developer"
end end
end end
end end