]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Allow newlines within command environment vars
authorSimon Glass <sjg@chromium.org>
Fri, 30 Mar 2012 21:30:56 +0000 (21:30 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Aug 2012 20:06:23 +0000 (22:06 +0200)
commit3a8a02beb75d8b3736d0e40ad4d071413869e363
tree1a66c6999706e880411a82fbc8f42ed8d1a1bf0d
parentd51004a832a9784f4c6af5482d4dace6bfd938c4
Allow newlines within command environment vars

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>
common/main.c