aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osx/xcode_version_flag.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx/xcode_version_flag.bzl')
-rw-r--r--tools/osx/xcode_version_flag.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osx/xcode_version_flag.bzl b/tools/osx/xcode_version_flag.bzl
index 58efa961fa..38d52445a6 100644
--- a/tools/osx/xcode_version_flag.bzl
+++ b/tools/osx/xcode_version_flag.bzl
@@ -15,7 +15,7 @@
"""Rules that allows select() to differentiate between Apple OS versions."""
def _strip_version(version):
- """Strip trailing characters from version names.
+ """Strip trailing characters that aren't digits or '.' from version names.
Some OS versions look like "9.0gm", which is not useful for select()
statements. Thus, we strip the trailing "gm" part.