read -r -a, not read -a -r

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-10-26 19:24:43 +01:00
parent 3d4fea6510
commit d57f9906bd
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

View file

@ -907,7 +907,7 @@ parse_file() {
#shellcheck disable=SC2016
IFS=$'\r\n' command eval 'file_info=( $(cat "${filename}") )'
else
read -a -r file_info <<< "$filename"
read -r -a file_info <<< "$filename"
fi
# Set a named variable for better readability
local file_lines