Skip to content

Commit 6802b94

Browse files
committed
test: ignore errors on submodule init
1 parent 5842239 commit 6802b94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.evergreen/prepare-shell.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ export TMPDIR="$MONGO_ORCHESTRATION_HOME/db"
3030
export PATH="$MONGODB_BINARIES:$PATH"
3131

3232
# Note the evergreen option on git.get_project recurse_submodules does not work, so do it here.
33+
# We ignore errors in case we are running in a container where git doesn't trust the tmp directory.
34+
set +e
3335
git submodule init
3436
git submodule update
37+
set -e
3538

3639
ls -la $DRIVERS_TOOLS
3740

0 commit comments

Comments
 (0)