From 43b28808923a36b984347c1457208d4237d2dfae Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 29 May 2020 18:25:38 -0400 Subject: [PATCH] put variables in brackets --- .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 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