mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
If MODULEPATH or LOADEDMODULES is already set, do not source the modulerc configuration file in init scripts. As a consequence, if .modulespath sets a module path, then modulerc will be ignored which clarifies how default configuration is loaded: if both .modulespath and modulerc are defined, .modulespath takes precedence over modulerc. So if .modulespath sets a module path, all loaded modules defined in the modulerc file will be ignored.
956 B
956 B