Skip to content

Commit 20a7868

Browse files
authored
DRIVERS-3032 Fix handling of mongo_crypt_v1 on windows (#580)
1 parent 50d13ab commit 20a7868

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/orchestration/drivers_orchestration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ def run(opts):
214214
mongodl(shlex.split(args))
215215
LOGGER.info("Downloading crypt_shared... done.")
216216
crypt_shared_path = None
217+
expected = [f"mongo_crypt_v1.{ext}" for ext in ["dll", "so", "dylib"]]
217218
for fname in os.listdir(mdb_binaries_str):
218-
if fname.startswith("mongo_crypt_v1"):
219+
if fname in expected:
219220
crypt_shared_path = (mdb_binaries / fname).as_posix()
220221
assert crypt_shared_path is not None
221222
crypt_text = f'CRYPT_SHARED_LIB_PATH: "{crypt_shared_path}"'

0 commit comments

Comments
 (0)