Skip to content

scl-init.sh calls to ps / variable leaks #47

@rowlap

Description

@rowlap

As scl-init.sh sets but doesn't clean up the variable "shell", it ends up set in every shell's variable list.

Suggest replacing the shell variable and call to ps with

[ -n "${BASH:-}" ] && export -f scl # export -f works only in bash

which is similar to the approach used by environment-modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions