From a6f33b20fdb2b950f7111f7cc679f0f52c59e606 Mon Sep 17 00:00:00 2001 From: David Bradford Date: Fri, 27 Dec 2019 21:26:37 +0000 Subject: SERVER-45313: Handle special characters in validate_commit_message --- etc/evergreen.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 6d4650258d1..0e717fb3966 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -8206,8 +8206,17 @@ tasks: set -o verbose set -o errexit if [ "${is_commit_queue}" = "true" ]; then + # 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. + cat > commit_message.txt <