mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-05 21:30:49 +02:00
modulecmd: bugfix in reading module config
Missing redirect added
This commit is contained in:
@@ -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