Merge pull request #38 from breca/main

Continues on empty lines from repoquery
This commit is contained in:
Louis Abel 2021-06-23 21:34:17 -07:00 committed by GitHub
commit 062f6c44bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -268,6 +268,9 @@ repoinfo () {
fi
declare -gA repoinfo_results=()
while IFS=" :" read -r name val; do
if [[ ! ( $name || $val) ]]; then
continue
fi
if [[ -z $name ]]; then
repoinfo_results[$prev]+=" $val"
else