Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions