From 6f162e4877461f35341c4fd507cddff712ea1639 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 15 Sep 2024 20:25:13 -0500 Subject: [PATCH] fix clear env --- .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 f2a1861d..52025167 100755 --- a/.evergreen/download-mongodb.sh +++ b/.evergreen/download-mongodb.sh @@ -717,7 +717,7 @@ download_and_extract_package () chmod -R +x mongodb # Clear the environment to avoid "find: The environment is too large for exec()" # error on Windows. - env -i PATH=$PATH find . -name vcredist_x64.exe -exec {} /install /quiet \; + env -i PATH="$PATH" find . -name vcredist_x64.exe -exec {} /install /quiet \; echo "MongoDB server version: $(./mongodb/bin/mongod --version)" cd - }