Skip to content

Commit 865ff9b

Browse files
authored
set MONGODB_BINARIES (#1721)
Changes in mongodb-labs/drivers-evergreen-tools@57cadda resulted in applying a default `MONGODB_BINARIES` in `download-mongodb.sh` that differed from what the C driver expected.
1 parent 54605bd commit 865ff9b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.evergreen/scripts/integration-tests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ DIR=$(dirname $0)
2929
# mongoc/.evergreen/scripts -> drivers-evergreen-tools/.evergreen/download-mongodb.sh
3030
. $DIR/../../../drivers-evergreen-tools/.evergreen/download-mongodb.sh
3131

32+
# Set destination path for binary downloads to mongoc/mongodb/bin.
33+
export MONGODB_BINARIES
34+
case "$OS" in
35+
cygwin*)
36+
MONGODB_BINARIES=$(cygpath -m -a "$DIR/../../mongodb/bin")
37+
;;
38+
*)
39+
MONGODB_BINARIES="$DIR/../../mongodb/bin"
40+
;;
41+
esac
42+
3243
get_distro
3344
get_mongodb_download_url_for "$DISTRO" "$MONGODB_VERSION"
3445
DRIVERS_TOOLS=./ download_and_extract "$MONGODB_DOWNLOAD_URL" "$EXTRACT" "$MONGOSH_DOWNLOAD_URL" "$EXTRACT_MONGOSH"

0 commit comments

Comments
 (0)