Thanks to visit codestin.com
Credit goes to github.com

Skip to content

filter-out Modules internal variables on sh-to-mod/source-sh #427

@xdelaruelle

Description

@xdelaruelle

If script currently evaluated by sh-to-mod sub-command or source-sh modulefile command relies itself on module to load some modulefiles, the environment variables intended for Modules internal use are reported.

Such environment variables (LOADEDMODULES, _LMFILES_ and __MODULES_*) should be filtered-out to get a consistent result not reporting/setting these internal variables.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions