mirror of
https://github.com/envmodules/modules.git
synced 2026-06-03 00:33:18 +08:00
Use helper list if it is provided rather than only in case no MODULEPATH is defined. Rework name simplification code to make use of getPathToModule procedure instead of listModules. Loop around as long as parent name matches tested modulefile, so "foo/bar/version" can returned "foo" if "foo/bar/version" is default version of "foo". Add non-regression tests mixing deep and virtual modulefiles whose definitions are spread through multiple modulepaths. Help checking default versions are correctly detected in complex situation.