projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd37dac
)
Make 'run' use run_command_list() instead of run_command()
author
Simon Glass
<sjg@chromium.org>
Sat, 26 Oct 2013 05:01:32 +0000
(23:01 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 9 May 2014 20:46:43 +0000
(14:46 -0600)
In the case where an environment variable spans multiple lines, we should
use run_command_list() so that all lines are executed. This shold be
backwards compatible with existing behaviour for existing scripts.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/main.c
patch
|
blob
|
history
diff --git
a/common/main.c
b/common/main.c
index e54f63b95626615001f5deee9756362675346934..9bee7bdc6b0e9b8deeb21b15647ff48a8e88156d 100644
(file)
--- a/
common/main.c
+++ b/
common/main.c
@@
-1550,7
+1550,7
@@
int do_run (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
return 1;
}
- if (run_command
(arg
, flag) != 0)
+ if (run_command
_list(arg, -1
, flag) != 0)
return 1;
}
return 0;