Skip to content

Suggest that shebang includes -l #32

Closed
@tangix

Description

@tangix

Without 100% understanding of any security issues, may I suggest that the patch script shebang includes the -l option?
Why?
To make sure the shell reads ${HOME}/.profile during startup and sets up the environment properly. For example I run all php and composer commands in docker containers and using shell aliases to define these commands. Without -l, the startup script is not read and the patch command fails with ERROR 127: Composer must be installed.

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