From e6bae349c72f20b88f13296740e5e0c51748af41 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 30 Aug 2024 14:22:10 +0200 Subject: [PATCH] build-system: bugfix in reading YAML version config --- Pmodules/modbuild.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pmodules/modbuild.in b/Pmodules/modbuild.in index f728006..16a23d2 100644 --- a/Pmodules/modbuild.in +++ b/Pmodules/modbuild.in @@ -1474,13 +1474,13 @@ build_modules_yaml_v1(){ used_keys # read (default) config of version if set - local -A vk_config=() local -- yaml_version_config='' if [[ -v used_keys['config'] ]]; then - yaml_version_config=$(${yq} '.config' <<<"${yaml_vk_config}" 2>/dev/null) + yaml_version_config=$(${yq} '.config' <<<"${yaml_version_block}" 2>/dev/null) debug "vk input: ${yaml_version_config}" fi # reminder: if YAML input is empty, next line copies defaults to 'vk_config' + local -A vk_config=() yml::get_config \ yaml_version_config \ vk_config \