modbuild: reading system-list fixed

This commit is contained in:
2023-11-17 15:55:45 +01:00
parent 2208f274b3
commit 05c96cd41b
+8 -1
View File
@@ -744,7 +744,14 @@ build_modules_yaml_v1(){
value=''
cfg[${key}]="${value}"
;;
systems | variant )
systems )
value=$( ${yq} -e ".${key}.[]" \
2>/dev/null <<<"${yaml_input}" ) || \
value=''
readarray -t tmp <<<"${value}"
cfg[${key}]="${tmp[@]}"
;;
variant )
value=$( ${yq} -e ".${key}.[]" \
2>/dev/null <<<"${yaml_input}" ) || \
value=''