diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa20f0..9f5d05d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,12 +16,17 @@ * Bugfix: Issue selecting the correct variant fixed if 'first_match' was set as variant. (#1401) -* Use patchelf 0.14.5 and Lmod 9.1.1 +* Enhancemnet: Use patchelf 0.14.5 and Lmod 9.1.1 (#1391, #1393) * Bugfix: test whether a variant has to be build or not fixed (#1377) * Bugfix: Selecting the variant to build on the cmd-line did not work. (#1371) + +### other changes +* Bugfix: remove comments while reading YAML config files + (#1380) + ## Version 2.0.5 ### modulecmd @@ -40,13 +45,15 @@ * Enhancemnet: It is now possible to specify a sub-directory relative to $SRC_DIR used by cmake/autotools in the YAML config file. (#1382) -* Bugfix: remove comments while reading YAML config files - (#1380) * Bugfix: test whether a variant has to be build or not fixed (#1377) * Bugfix: Selecting the variant to build on the cmd-line did not work. (#1371) +### other changes +* Bugfix: remove comments while reading YAML config files + (#1380) + ## Version 2.0.4 ### modulecmd @@ -65,7 +72,7 @@ * Don't pass an empty string as argument to configure/cmake. (#1356) -### other changesg +### other changes * Bash updated to version 5.3.9 (#1366) * Download URL for Modules fixed. diff --git a/Pmodules/libpmodules.bash.in b/Pmodules/libpmodules.bash.in index 5ab0993..bc93c43 100644 --- a/Pmodules/libpmodules.bash.in +++ b/Pmodules/libpmodules.bash.in @@ -146,7 +146,7 @@ yml::read_file(){ local -- yml_fname="$2" local -- yml_node="$3" - yml_content=$( ${yq} -Ne e "${yml_node}|explode(.)" "${yml_fname}" 2>/dev/null ) || \ + yml_content=$( ${yq} -Ne e "... comments=\"\"|${yml_node}|explode(.)" "${yml_fname}" 2>/dev/null ) || \ yml::die_read_file "${yml_fname}" }