Skip to content

Commit

Permalink
use || not && in crypt shared check (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs authored Sep 27, 2024
1 parent cafef5e commit d835aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .evergreen/download-mongodb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;;
Expand Down

0 comments on commit d835aa5

Please sign in to comment.