os/mac/xcode: update Clang version parsing for CLT 12.5
This commit is contained in:
parent
6362f3ebbf
commit
0b39690e5c
@ -353,7 +353,7 @@ module OS
|
||||
end
|
||||
|
||||
def detect_version_from_clang_version
|
||||
detect_clang_version&.sub(/^(\d+)00\./, "\\1.")
|
||||
detect_clang_version&.sub(/^(\d+)0(\d)\./, "\\1.\\2.")
|
||||
end
|
||||
|
||||
# Version string (a pretty long one) of the CLT package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user