Skip to content
Snippets Groups Projects
  • Adam J. Stewart's avatar
    a4b3edd6
    Allow Spack Environments with '-h' in the name (#15429) · a4b3edd6
    Adam J. Stewart authored
    If a user invoked "spack env activate example-henv", Spack would
    mistakenly interpret the "-h" from "example-henv" as the "-h" option.
    This commit allows users to create and activate environments with
    "-h" in the name.
    
    This issue existed for bash shell support as well as csh support, and
    this commit addresses both, along with some other unrelated csh
    support issues.
    Allow Spack Environments with '-h' in the name (#15429)
    Adam J. Stewart authored
    If a user invoked "spack env activate example-henv", Spack would
    mistakenly interpret the "-h" from "example-henv" as the "-h" option.
    This commit allows users to create and activate environments with
    "-h" in the name.
    
    This issue existed for bash shell support as well as csh support, and
    this commit addresses both, along with some other unrelated csh
    support issues.