Use mapfile instead of hacking around read -a with the $IFS. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- scripts/libmakepkg/executable/checksum.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libmakepkg/executable/checksum.sh.in b/scripts/libmakepkg/executable/checksum.sh.in index 9783d4ee..0a4b0c9e 100644 --- a/scripts/libmakepkg/executable/checksum.sh.in +++ b/scripts/libmakepkg/executable/checksum.sh.in @@ -29,7 +29,7 @@ executable_functions+=('executable_checksum') executable_checksum() { if (( GENINTEG || ! SKIPCHECKSUMS )); then local integlist - IFS=$'\n' read -rd '' -a integlist < <(get_integlist) + mapfile -t integlist < <(get_integlist) local integ for integ in "${integlist[@]}"; do -- 2.20.1