diff --git a/.github/workflows/Line_Endings.yml b/.github/workflows/Line_Endings.yml index b14a2f4..e3d87b0 100644 --- a/.github/workflows/Line_Endings.yml +++ b/.github/workflows/Line_Endings.yml @@ -1,6 +1,6 @@ # MaCFP workflow -name: Liquid_Pool_Fires +name: Line_Endings # Controls when the workflow will run on: @@ -25,8 +25,8 @@ jobs: - name: Check for CFLF line endings run: | - grep -IURl --exclude={"*.pdf","*.png"} --exclude-dir=".git" --exclude-dir="output" $'\r' > $crlf_temp - nlines=`cat $crlf_temp | wc -l` + grep -IURl --exclude={"*.pdf","*.png"} --exclude-dir=".git" --exclude-dir="output" '\r'$ > tmp.txt + nlines=`cat tmp.txt | wc -l` if [ $nlines -gt 0 ]; then echo "matl-db repo text files with dos line endings:" cat $crlf_temp