Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check even more carefully for xcode_version

Refs #7236, though honestly I just think @dsarch hasn't updated.
  • Loading branch information...
commit af9fa3534ef67693a26efefc07ea3e7f5e587e9d 1 parent c32315b
@mxcl mxcl authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Library/Homebrew/utils.rb
View
1  Library/Homebrew/utils.rb
@@ -299,6 +299,7 @@ def xcode_version
@xcode_version ||= begin
raise unless system "/usr/bin/which -s xcodebuild"
`xcodebuild -version 2>&1` =~ /Xcode (\d(\.\d)*)/
+ raise if $1.nil?
$1
rescue
# for people who don't have xcodebuild installed due to using
Please sign in to comment.
Something went wrong with that request. Please try again.