
9 Aug
2012
9 Aug
'12
10:06 p.m.
Dear Simon Glass,
In message 1333179058-19598-2-git-send-email-sjg@chromium.org you wrote:
Any environment variable can hold commands to be executed by the 'run' command. The environment variables preboot, bootcmd and menucmd have special code for triggering execution in certain circumstances.
We adjust these calls to use run_command_list() instead of run_command(). This change permits these variables to have embedded newlines so that they work the same as the 'source' command.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Update commit message to be less confusing
Changes in v3:
- Remove unneeded len parameter in calls to run_command_list
common/main.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The human mind treats a new idea the way the body treats a strange
protein - it rejects it. - P. Medawar