Skip to content

Commit

Permalink
fix clear env
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 16, 2024
1 parent 9ca5368 commit 6f162e4
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 @@ -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 -
}
Expand Down

0 comments on commit 6f162e4

Please sign in to comment.