From 097f0d23eb7ccb94ed8f0b83103a28b2f5e78d2b Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 29 May 2020 18:24:00 -0400 Subject: [PATCH] use carets instead of quotes --- .github/workflows/clang-format.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 4984aa7cf..64e2c3872 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -26,11 +26,11 @@ 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" + echo -e "$fname --> $new_fname" git mv "$fname" $new_fname fi done