mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 18:59:39 +02:00
modulecmd.bash: bugfix in find_modulefile()
Matching with used release stages fiyed
This commit is contained in:
@@ -1135,7 +1135,7 @@ find_modulefile() {
|
||||
"${dir}" \
|
||||
"${mod}"
|
||||
# don't load modules with unused release stages
|
||||
if [[ :${fm_rel_stage}: =~ :${UsedReleaseStages}: ]]; then
|
||||
if [[ :${UsedReleaseStages}: =~ :${fm_rel_stage}: ]]; then
|
||||
fm_modulefile="${dir}/${mod}"
|
||||
fm_dir="${dir}"
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user