diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2021-06-24 19:45:51 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-02 02:08:51 +0000 |
commit | 8a30e2e888640f58bd7e5134e14b39de4b0b1491 (patch) | |
tree | 72e16e9201e83f34265e0ed3a595b9e5794e0e32 /evergreen/todos_check.sh | |
parent | 951dfeb5aca55cc881293372dfda4b72bb478b92 (diff) | |
download | mongo-8a30e2e888640f58bd7e5134e14b39de4b0b1491.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 44ec7837219..7fc97f063f3 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 |