aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2016-03-15 23:50:08 -0700
committerXu Cheng2016-03-19 19:14:50 +0800
commitf0a5abe12e0e037ec7569b63d7169f7a0798b6c6 (patch)
treea567aeda2f86866d94c33a6267d47f0ae827285e /Library
parentf30c264519afd98b5aac8dd5c48810c761983124 (diff)
downloadbrew-f0a5abe12e0e037ec7569b63d7169f7a0798b6c6.tar.bz2
More specific test for default prefix
cf. Homebrew/homebrew#50154
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index b8643aa6d..b951b1232 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -144,7 +144,7 @@ module OS
if version < "4.3"
prefix.to_s.start_with? "/Developer"
else
- prefix.to_s.start_with? "/Applications/Xcode.app"
+ prefix.to_s == "/Applications/Xcode.app/Contents/Developer"
end
end
end