Skip to content

Give warning when MODULEPATH contains a trailing slash #735

@fgeorgatos

Description

@fgeorgatos

We should inspect the $MODULEPATH and report if it deviates from "normal", because trailing slashes trigger different kind of bugs:

  • On environment-modules-C we see that module list shows `/GCC* etc
  • On environment-modules-tcl we see the opposite: the first character is truncated

I think the experience calls for a regex test and spitting out warnings; see related #689
(this is important to avoid the situation that people misreport bugs on EB side)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions