From 43d9e9942c29eb086b7e1c0e1c31b8c9bb0e1741 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Fri, 27 Sep 2024 09:19:45 -0400 Subject: [PATCH] use `||` not `&&` in crypt shared check To check that at least one of 6.0, 7.0, or 8.0 are present for the distro. --- .evergreen/download-mongodb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/download-mongodb.sh b/.evergreen/download-mongodb.sh index ed886446..3c5d1e5d 100755 --- a/.evergreen/download-mongodb.sh +++ b/.evergreen/download-mongodb.sh @@ -632,7 +632,7 @@ get_mongodb_download_url_for () case "$_VERSION" in latest) # If latest is not at least 6.0 on this OS, the crypt_shared package will not be available. - if [ -n "$MONGODB_60" ] && [ -n "$MONGODB_70" ] && [ -n "$MONGODB_80" ]; then + if [ -n "$MONGODB_60" ] || [ -n "$MONGODB_70" ] || [ -n "$MONGODB_80" ]; then MONGO_CRYPT_SHARED_DOWNLOAD_URL=$MONGODB_LATEST fi ;; rapid) MONGO_CRYPT_SHARED_DOWNLOAD_URL=$MONGODB_RAPID ;;