Skip to content

Commit

Permalink
Update tools/f90mkdepend
Browse files Browse the repository at this point in the history
MacOS, remove comma at line end

Co-authored-by: Martin Losch <[email protected]>
  • Loading branch information
IvanaEscobar and mjlosch authored Sep 3, 2024
1 parent b6329ae commit fc44c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/f90mkdepend
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ for filename in *.F90 *.F *.h; do
# quick check for "use" to speed up processing
if grep -i '^ *use ' $filename > /dev/null; then
# extract module name in lower case
modreflist=$(grep -i '^ *use ' $filename | awk '{print tolower($2)}' | sed 's/,.*$\|\r$//')
modreflist=$(grep -i '^ *use ' $filename | awk '{print tolower($2)}' | sed 's/,.*$//' | sed 's/\r$//')

echo "$filename => $modreflist" >> f90mkdepend.log

Expand Down

0 comments on commit fc44c9a

Please sign in to comment.