mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
put variables in brackets
This commit is contained in:
parent
097f0d23eb
commit
43b2880892
6
.github/workflows/clang-format.yml
vendored
6
.github/workflows/clang-format.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user