From 871a31521172c15d5fe81ae5dac9bc42de4026ea Mon Sep 17 00:00:00 2001 From: David Bradford Date: Wed, 4 Aug 2021 14:51:08 -0400 Subject: [PATCH] SERVER-58682: Ensure check_todo no-ops in the waterfall --- evergreen/todos_check.sh | 4 ++-- 1 file 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