summaryrefslogtreecommitdiff
path: root/evergreen/todos_check.sh
diff options
context:
space:
mode:
authorRichard Samuels <richard.l.samuels@gmail.com>2021-08-05 17:26:39 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-06 19:59:33 +0000
commit9328814f1c33fcb22dbcce831c3a11b0b242ca04 (patch)
treea492c154b8e6691b502113a5ec087bc0658ed735 /evergreen/todos_check.sh
parent72db2b2b27028caf7523c5828019b53a655a3446 (diff)
downloadmongo-9328814f1c33fcb22dbcce831c3a11b0b242ca04.tar.gz
SERVER-57140 reformat shell scripts and allow space between redirect operators
Diffstat (limited to 'evergreen/todos_check.sh')
-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 42449d96081..c24da8fdce1 100644
--- a/evergreen/todos_check.sh
+++ b/evergreen/todos_check.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
@@ -12,7 +12,7 @@ set -o errexit
# 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
- cat >commit_message.txt <<END_OF_COMMIT_MSG
+ cat > commit_message.txt << END_OF_COMMIT_MSG
${commit_message}
END_OF_COMMIT_MSG