fix build failure

This commit is contained in:
procyclinsur 2018-11-02 13:35:18 +09:00 committed by GitHub
parent 66ad52add4
commit e6e7ed3edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ cmdparse() {
read -d $'\s' -ra match_list <<< "${2}"
while read -d $'\n' -r line; do
read -d "" -ra field <<< "${line//$4/$'\n'}"
for match in ${match_list[@]}
for match in "${match_list[@]}"
do
if [[ $line =~ $match ]]; then
printf '%s\n' "${field[$3]}"