summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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