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