mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
Check even more carefully for xcode_version
Refs #7236, though honestly I just think @dsarch hasn't updated.
This commit is contained in:
1 parent
c32315b566
commit
af9fa3534e
1 file changed
+1
@@ -299,6 +299,7 @@ module MacOS extend self
|
||||
@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
|
||||
|
||||
Reference in new issue
Block a user