mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-23 00:07:57 +02:00
build-system (#382): bugfix in yml::get_group_deps()
(cherry picked from commit ae00d9f865)
Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
This commit is contained in:
@@ -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}" )
|
||||
|
||||
Reference in New Issue
Block a user