remove -e from echo

This commit is contained in:
Krishna Vedala 2020-05-29 18:29:50 -04:00
parent 43b2880892
commit b9ed82475e

View File

@ -26,11 +26,11 @@ jobs:
run: | run: |
for fname in $(find . -type f -name '*.cpp' -o -name '*.h') for fname in $(find . -type f -name '*.cpp' -o -name '*.h')
do do
new_fname=`echo -e ${fname} | tr ' ' '_'` new_fname=`echo ${fname} | tr ' ' '_'`
new_fname=`echo -e ${new_fname} | tr 'A-Z' 'a-z'` new_fname=`echo ${new_fname} | tr 'A-Z' 'a-z'`
if [ ${fname} != ${new_fname} ] if [ ${fname} != ${new_fname} ]
then then
echo -e "${fname} --> ${new_fname}" echo "${fname} --> ${new_fname}"
git mv "${fname}" ${new_fname} git mv "${fname}" ${new_fname}
fi fi
done done