diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 64e2c3872..0c5e1d82f 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -28,10 +28,10 @@ jobs: do new_fname=`echo -e ${fname} | tr ' ' '_'` new_fname=`echo -e ${new_fname} | tr 'A-Z' 'a-z'` - if [ $fname != $new_fname ] + if [ ${fname} != ${new_fname} ] then - echo -e "$fname --> $new_fname" - git mv "$fname" $new_fname + echo -e "${fname} --> ${new_fname}" + git mv "${fname}" ${new_fname} fi done git commit -am "formatting filenames $GITHUB_SHA" || true