small fix

This commit is contained in:
Robin Müller 2022-05-13 11:46:59 +02:00
parent 57bac4f262
commit d4a6f987bc
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ else
fi
cpp_format="clang-format"
if command -v ${clang-format} &> /dev/null; then
if command -v ${cpp_format} &> /dev/null; then
find ./src -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
find ./hal -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i
find ./tests -iname *.h -o -iname *.cpp -o -iname *.c | xargs clang-format --style=file -i