Fix Shellcheck SC2006: Use $(...) notation

Use $(...) notation instead of legacy backticked `...`.

https://github.com/koalaman/shellcheck/wiki/SC2006

Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
Dan Callahan 2021-10-22 23:07:23 +01:00
parent b5e910521b
commit d7141e0b8b
No known key found for this signature in database
GPG key ID: 5FAD56482D9EB851
10 changed files with 15 additions and 15 deletions

View file

@ -25,7 +25,7 @@
# terminators are found, 0 otherwise.
# cd to the root of the repository
cd "`dirname "$0"`/.." || exit
cd "$(dirname "$0")/.." || exit
# Find and print files with non-unix line terminators
if find . -path './.git/*' -prune -o -type f -print0 | xargs -0 grep -I -l $'\r$'; then