Fix Xcode.version
I managed to remove a return while fixing this yesterday. The whitespace changes made the diff unreadable so I missed this regression. Why does this sort of thing still happen?
This commit is contained in:
parent
adccbf893e
commit
c84035a287
@ -70,7 +70,7 @@ module MacOS::Xcode extend self
|
|||||||
xcode43build = V4_BUNDLE_PATH/'Contents/Developer/usr/bin/xcodebuild'
|
xcode43build = V4_BUNDLE_PATH/'Contents/Developer/usr/bin/xcodebuild'
|
||||||
if xcode43build.file?
|
if xcode43build.file?
|
||||||
`#{xcode43build} -version 2>/dev/null` =~ /Xcode (\d(\.\d)*)/
|
`#{xcode43build} -version 2>/dev/null` =~ /Xcode (\d(\.\d)*)/
|
||||||
$1 if $1
|
return $1 if $1
|
||||||
end
|
end
|
||||||
|
|
||||||
# Xcode 4.3 xc* tools hang indefinately if xcode-select path is set thus
|
# Xcode 4.3 xc* tools hang indefinately if xcode-select path is set thus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user