From 8a30e2e888640f58bd7e5134e14b39de4b0b1491 Mon Sep 17 00:00:00 2001 From: Richard Samuels Date: Thu, 24 Jun 2021 19:45:51 -0400 Subject: SERVER-57140 reformat shell scripts and allow space between redirect operators --- evergreen/commit_message_validate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'evergreen/commit_message_validate.sh') diff --git a/evergreen/commit_message_validate.sh b/evergreen/commit_message_validate.sh index 64883e98a9c..687aea5ed6c 100644 --- a/evergreen/commit_message_validate.sh +++ b/evergreen/commit_message_validate.sh @@ -1,4 +1,4 @@ -DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" . "$DIR/prelude.sh" cd src @@ -9,7 +9,7 @@ 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 < commit_message.txt << END_OF_COMMIT_MSG ${commit_message} END_OF_COMMIT_MSG -- cgit v1.2.1