diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2021-08-05 17:26:39 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-06 19:59:33 +0000 |
commit | 9328814f1c33fcb22dbcce831c3a11b0b242ca04 (patch) | |
tree | a492c154b8e6691b502113a5ec087bc0658ed735 /evergreen/todos_check.sh | |
parent | 72db2b2b27028caf7523c5828019b53a655a3446 (diff) | |
download | mongo-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.sh | 4 |
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 |