mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
modbuild: reading system-list fixed
This commit is contained in:
@@ -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=''
|
||||
|
||||
Reference in New Issue
Block a user