mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
79714c1e26
commit
f47360a74e
9 changed files with 14 additions and 13 deletions
|
@ -179,7 +179,7 @@ source (ulong addr, const char *fit_uname)
|
|||
if (*line) {
|
||||
debug ("** exec: \"%s\"\n",
|
||||
line);
|
||||
if (run_command (line, 0) < 0) {
|
||||
if (builtin_run_command(line, 0) < 0) {
|
||||
rcode = 1;
|
||||
break;
|
||||
}
|
||||
|
@ -189,7 +189,7 @@ source (ulong addr, const char *fit_uname)
|
|||
++next;
|
||||
}
|
||||
if (rcode == 0 && *line)
|
||||
rcode = (run_command(line, 0) >= 0);
|
||||
rcode = (builtin_run_command(line, 0) >= 0);
|
||||
}
|
||||
#endif
|
||||
free (cmd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue