diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 5ee612c99..1f9dcb98b 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -26,8 +26,8 @@ jobs: run: | for fname in $(find . -type f -name '*.cpp' -o -name '*.h') do - new_fname="$(echo -e "${fname}" | tr ' ' '_')" - new_fname="$(echo -e "${new_fname}" | tr 'A-Z' 'a-z')" + new_fname="$(echo -e ${fname} | tr ' ' '_')" + new_fname="$(echo -e ${new_fname} | tr 'A-Z' 'a-z')" if [ $fname != $new_fname ] then echo -e $fname" --> "$new_fname