Closed
Description
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
Labels
No labels