Skip to content

Commit

Permalink
fix whitecharacter syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderPico committed Jul 5, 2023
1 parent dc349c8 commit a18bdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on_gpml_change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ jobs:
auth="$(sed -n '/<Pathway /s/.*Author=\"\[\(.*\)\]\".*/\1/p' $f )"
IFS=',' read -r -a curAuthors <<< "$auth"
echo $curAuthors
echo ${#curAuthors[@]}
echo ${#curAuthors[@]}
checkAuthors+=("${(@)curAuthors}")
done
echo ${checkAuthors[@]}
echo ${#checkAuthors[@]}
echo ${#checkAuthors[@]}
for a in ${checkAuthors[@]}; do
a=$(echo "$a" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
if [[ ! " ${authorList[*]} " =~ " ${a} " ]]; then
Expand Down

0 comments on commit a18bdaa

Please sign in to comment.