os/mac/xcode: update Clang version parsing for CLT 12.5

This commit is contained in:
Bo Anderson 2021-03-26 10:29:27 +00:00
parent 6362f3ebbf
commit 0b39690e5c
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -353,7 +353,7 @@ module OS
end end
def detect_version_from_clang_version def detect_version_from_clang_version
detect_clang_version&.sub(/^(\d+)00\./, "\\1.") detect_clang_version&.sub(/^(\d+)0(\d)\./, "\\1.\\2.")
end end
# Version string (a pretty long one) of the CLT package. # Version string (a pretty long one) of the CLT package.