public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Script with 'if run' don't work as expected
Date: Wed, 21 May 2014 15:12:10 +0200	[thread overview]
Message-ID: <537CA62A.8050301@herbrechtsmeier.net> (raw)

Hi,

a script with 'if run' don't work as expect. I have test it on an 
omap3_overo board.

The following script always prints true:
setenv testcmd false; if run testcmd; then echo "true"; fi;

This could be fixed by reverting commit 
1992dbfdb9886c3dfc4a505091895c851f736f3a:
Make 'run' use run_command_list() instead of run_command()

Kind regards,
   Stefan

             reply	other threads:[~2014-05-21 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 13:12 Stefan Herbrechtsmeier [this message]
2014-05-22  5:48 ` [U-Boot] Script with 'if run' don't work as expected Simon Glass

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=537CA62A.8050301@herbrechtsmeier.net \
    --to=stefan@herbrechtsmeier.net \
    --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