We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4e10a commit 222bc66Copy full SHA for 222bc66
.evergreen/scripts/setup_tests.py
@@ -114,9 +114,9 @@ def setup_libmongocrypt():
114
with open("/etc/os-release") as fid:
115
for line in fid:
116
if line.startswith("NAME="):
117
- _, _, name = line.strip().split("=")
+ _, _, name = line.strip().partition("=")
118
if line.startswith("VERSION_ID="):
119
- _, _, version = line.strip().split("=")
+ _, _, version = line.strip().partition("=")
120
if name.startswith("Debian"):
121
target = f"debian{version_id}"
122
elif name.startswith("Red Hat"):
0 commit comments