Merge branch 'cherry-pick-ae00d9f8' into '1.1.22'

build-system (#382): bugfix in yml::get_group_deps()

See merge request Pmodules/src!405
This commit is contained in:
2025-02-03 10:55:59 +01:00
+5 -3
View File
@@ -934,10 +934,12 @@ build_modules_yaml_v1(){
local keys=()
yml::get_keys keys yaml_input ".${group,,}"
for key in "${keys[@]}"; do
local version
local versions=()
yml::get_seq versions yaml_input ".${group,,}.${key}" || \
local -- version
local -a versions=()
local -- value=''
yml::get_seq value yaml_input ".${group,,}.${key}" || \
yml::die_parsing "${yaml_input}"
readarray -t versions <<<"${value}"
for version in "${versions[@]}"; do
if [[ -v opt_with_dict[${key}/${version}] ]]; then
with_modules+=( "${key}/${version}" )