commit | d0eb940867b418973c826d83c077e86f3cbe0e33 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Mar 30 21:30:56 2012 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Thu Aug 09 22:06:23 2012 +0200 |
tree | 1a66c6999706e880411a82fbc8f42ed8d1a1bf0d | |
parent | a6642e091311f7d36ea4cb83498449fde904fa3c [diff] |
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>