summaryrefslogtreecommitdiff
path: root/evergreen/todos_check.sh
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2021-08-04 14:51:08 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-04 20:25:52 +0000
commit871a31521172c15d5fe81ae5dac9bc42de4026ea (patch)
tree49fc91d52ce16837a98c35f77fb0739840ea036b /evergreen/todos_check.sh
parent29e7b742352e671ad1bf3d9b75a05cf93145df95 (diff)
downloadmongo-871a31521172c15d5fe81ae5dac9bc42de4026ea.tar.gz
SERVER-58682: Ensure check_todo no-ops in the waterfall
Diffstat (limited to 'evergreen/todos_check.sh')
-rw-r--r--evergreen/todos_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/evergreen/todos_check.sh b/evergreen/todos_check.sh
index 7fc97f063f3..42c20a20547 100644
--- a/evergreen/todos_check.sh
+++ b/evergreen/todos_check.sh
@@ -11,7 +11,7 @@ set -o errexit
# Since `commit_message` is an evergreen expansion, we need a way to ensure we
# properly deal with any special characters that could cause issues (like "). To
# do this, we will write it out to a file, then read that file into a variable.
-if [ "${is_commit_queue}" = "true" ]; then
+if [ "${is_commit_queue}" == "true" ]; then
cat > commit_message.txt << END_OF_COMMIT_MSG
${commit_message}
END_OF_COMMIT_MSG
@@ -20,6 +20,6 @@ END_OF_COMMIT_MSG
rm commit_message.txt
$python buildscripts/todo_check.py --commit-message "$commit_message_content"
-else
+elif [ "${is_patch}" == "true" ]; then
$python buildscripts/todo_check.py --patch-build ${version_id}
fi