mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-10 08:13:58 +01:00
modulecmd: bugfix in reading module config
Missing redirect added
This commit is contained in:
1 parent
52eaf2b610
commit
19c0b65331
1 file changed
+2
-1
@@ -311,7 +311,8 @@ get_module_config(){
|
||||
local -r config_file="${modulefile%/*}/.config-${modulefile##*/}"
|
||||
local -r rel_stage_file="${modulefile%/*}/.release-${modulefile##*/}"
|
||||
if [[ -r ${config_file} ]]; then
|
||||
local -- yaml=$(${yq} -e '.')
|
||||
local -- yaml=$(${yq} -e '.' < "${config_file}")
|
||||
debug "yaml: ${yaml}"
|
||||
local -- key=''
|
||||
for key in ${!ref_cfg[@]}; do
|
||||
case "${key,,}" in
|
||||
|
||||
Reference in new issue
Block a user