Refactor for more efficient evaulation

This commit is contained in:
Brett C 2021-06-22 19:03:18 +10:00
parent 078779f2e6
commit eeff0c3b94

View File

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