Is it by design, or by error, that the "module source" command can no longer be used in module files (it still works directly).
When I upgraded to 5.0.0, I had to change this in my initial module file:
(old line is commented out - it worked in 4.8.0).
# module source "${_modules_home}/common/base/basealias"
module switch base/basealias base/basealias
In the specific situation (the affected module just defines aliases) - using module switch is better than source (because I don't have to include the full path), but I can think of situations where you don't want a command that unloads the module before loading it again.
--
--------------------------------------------------------
The views and opinions expressed above are strictly
those of the author(s). The content of this message has
not been reviewed nor approved by any entity whatsoever.
--------------------------------------------------------
Paul FM Info: http://paulfm.com/~paulfm/
--------------------------------------------------------
|