public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/4] Allow newlines within command environment vars
Date: Thu, 09 Aug 2012 22:06:40 +0200	[thread overview]
Message-ID: <20120809200640.6B626204041@gemini.denx.de> (raw)
In-Reply-To: <1333179058-19598-2-git-send-email-sjg@chromium.org>

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 at denx.de
The human mind treats a new idea the way the body  treats  a  strange
protein - it rejects it.                                 - P. Medawar

  reply	other threads:[~2012-08-09 20:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31  7:30 [U-Boot] [PATCH v3 1/4] Add run_command_list() to run a list of commands Simon Glass
2012-03-31  7:30 ` [U-Boot] [PATCH v3 2/4] Allow newlines within command environment vars Simon Glass
2012-08-09 20:06   ` Wolfgang Denk [this message]
2012-03-31  7:30 ` [U-Boot] [PATCH v3 3/4] sandbox: Use the new run_command() Simon Glass
2012-04-01 19:53   ` Mike Frysinger
2012-04-23 20:54   ` Wolfgang Denk
2012-03-31  7:30 ` [U-Boot] [PATCH v3 4/4] sandbox: Add basic test for command execution Simon Glass
2012-04-01 19:53   ` Mike Frysinger
2012-04-04  7:18     ` Simon Glass
2012-04-08  8:40       ` Mike Frysinger
2012-08-09 20:06   ` Wolfgang Denk
2012-04-01 19:48 ` [U-Boot] [PATCH v3 1/4] Add run_command_list() to run a list of commands Mike Frysinger
2012-04-04  7:12   ` Simon Glass
2012-04-08  8:39     ` Mike Frysinger
2012-04-09  4:46       ` Simon Glass
2012-08-09 20:06 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120809200640.6B626204041@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox