diff --git a/entry.sh b/entry.sh index e91ced3..5b18028 100755 --- a/entry.sh +++ b/entry.sh @@ -29,4 +29,8 @@ cd "${GITHUB_WORKSPACE-/w}" read -r -a opts <<< "${INPUT_OPTS}" -find . -name '*.bib' -exec bibcop.pl "${opts[@]}" {} \; +bibs=$(find . -name '*.bib') + +echo "${bibs}" | while IFS= read -r bib; do + bibcop.pl "${opts[@]}" "${bib}" +done