use carets instead of quotes

This commit is contained in:
Krishna Vedala 2020-05-29 18:24:00 -04:00
parent b3242230e8
commit 097f0d23eb

View File

@ -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