From a2c87407078f11e59fb5f45faf63e99f131ceef4 Mon Sep 17 00:00:00 2001 From: rmcdermo Date: Tue, 8 Aug 2023 14:04:18 -0400 Subject: [PATCH] Workflows: update line endings check --- .github/workflows/Line_Endings.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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