mirror of
https://github.com/envmodules/modules.git
synced 2026-06-03 00:33:18 +08:00
Adapt version modulefile, which is deployed in versioning installation mode, to re-initialize module command during its unload, to restore the command of the previously loaded version. Goes through a full re-initialization to overcome incompatible definition of the module command between version 3 and 4. This full re-initialization cannot be attempted on scripting shells, like Perl or Python, as function re-definition is not a common practice on these languages.