summaryrefslogtreecommitdiff
path: root/evergreen/commit_message_validate.sh
diff options
context:
space:
mode:
authorRichard Samuels <richard.l.samuels@gmail.com>2021-06-24 19:45:51 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-02 02:08:51 +0000
commit8a30e2e888640f58bd7e5134e14b39de4b0b1491 (patch)
tree72e16e9201e83f34265e0ed3a595b9e5794e0e32 /evergreen/commit_message_validate.sh
parent951dfeb5aca55cc881293372dfda4b72bb478b92 (diff)
downloadmongo-8a30e2e888640f58bd7e5134e14b39de4b0b1491.tar.gz
SERVER-57140 reformat shell scripts and allow space between redirect operators
Diffstat (limited to 'evergreen/commit_message_validate.sh')
-rw-r--r--evergreen/commit_message_validate.sh4
1 files changed, 2 insertions, 2 deletions
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 <<END_OF_COMMIT_MSG
+ cat > commit_message.txt << END_OF_COMMIT_MSG
${commit_message}
END_OF_COMMIT_MSG