mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-29 10:49:41 +02:00
Merge branch '215-output-of-module-file-is-missing-in-error-message-of-sub-cmd-unload-if-module-doesn-t-exist-any' into 'master'
Resolve "output of module(-file) is missing in error message of sub-cmd unload if module doesn't exist any more" Closes #215 See merge request Pmodules/src!192
This commit is contained in:
@@ -855,7 +855,7 @@ subcommand_unload() {
|
||||
continue
|
||||
fi
|
||||
local interp
|
||||
is_modulefile interp "${lmfile}" || die_not_a_modulefile "${m}"
|
||||
is_modulefile interp "${lmfile}" || die_not_a_modulefile "${lmfile}"
|
||||
if [[ "${interp}" == 'lmod' ]]; then
|
||||
current_modulefile="${current_modulefile/${moduledir}\/}"
|
||||
modulecmd="${lmod_cmd}"
|
||||
|
||||
Reference in New Issue
Block a user