From 9643f75e0f7968f1eec91f9a4d865b6c8dbd7371 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 29 May 2020 19:04:14 -0400 Subject: [PATCH] protetc each word in git mv .. --- .github/workflows/clang-format.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index d2702bf3a..e6d8dee9a 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -32,10 +32,12 @@ jobs: echo " ${new_fname}" new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'` echo " ${new_fname}" + new_fname=`echo ${new_fname} | tr '-' '_'` + echo " ${new_fname}" if [ ${fname} != ${new_fname} ] then echo " ${fname} --> ${new_fname}" - git mv \"${fname}\" ${new_fname} + git "mv" "${fname}" ${new_fname} fi done git commit -am "formatting filenames $GITHUB_SHA" || true