diff --git a/lib/linter.sh b/lib/linter.sh index 4e17890d..58b43157 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1082,7 +1082,7 @@ Footer() { #################################################### # Need to clean up the lanuage array of duplicates # #################################################### - mapfile -t UNIQUE_LINTED_ARRAY < <(echo "${LINTED_LANGUAGES_ARRAY[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' ') + UNIQUE_LINTED_ARRAY=($(for LANG in "${LINTED_LANGUAGES_ARRAY[@]}"; do echo "${LANG}"; done | sort -u)) ############################## # Prints for errors if found #