try escape characters and echo"

This commit is contained in:
Krishna Vedala 2020-05-29 18:00:34 -04:00
parent c0dcc91276
commit 63f13ea50b

View File

@ -30,8 +30,8 @@ jobs:
new_fname="$(echo -e "${new_fname}" | tr 'A-Z' 'a-z')"
if [ $fname != $new_fname ]
then
echo '"${fname}" --> ${new_fname}'
git mv "${fname}" ${new_fname}
echo -e "'"$fname"' --> '"$new_fname"'"
git mv "$(echo -e "$fname")" $new_fname
fi
done
git commit -am "formatting filenames $GITHUB_SHA" || true