Fix syntax error, sorry about that.
Didn't test properly, it was a side-fix. Bad mxcl.
This commit is contained in:
parent
6ffe27fa98
commit
ad02ea74da
@ -158,8 +158,8 @@ module MacOS::CLT extend self
|
|||||||
end
|
end
|
||||||
|
|
||||||
def latest_version?
|
def latest_version?
|
||||||
`/usr/bin/clang -v` =~ %r{tags/Apple/clang-(\d+).(\d+).(\d+)}
|
`/usr/bin/clang -v 2>&1` =~ %r{tags/Apple/clang-(\d+)\.(\d+)\.(\d+)}
|
||||||
$1 >= 421 and $3 >= 57
|
$1.to_i >= 421 and $3.to_i >= 57
|
||||||
end
|
end
|
||||||
|
|
||||||
def version
|
def version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user