[U-Boot] [PATCH v3 2/4] Allow newlines within command environment vars

Wolfgang Denk wd at denx.de
Thu Aug 9 22:06:40 CEST 2012


Dear Simon Glass,

In message <1333179058-19598-2-git-send-email-sjg at 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 at 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 at denx.de
The human mind treats a new idea the way the body  treats  a  strange
protein - it rejects it.                                 - P. Medawar


More information about the U-Boot mailing list