Skip to content

Commit

Permalink
Workflows: update line endings check
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcdermo committed Aug 8, 2023
1 parent 0a5ee31 commit a2c8740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Line_Endings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MaCFP workflow

name: Liquid_Pool_Fires
name: Line_Endings

# Controls when the workflow will run
on:
Expand All @@ -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
Expand Down

0 comments on commit a2c8740

Please sign in to comment.