Commit 1992dbfdb9886c3dfc4a505091895c851f736f3a

Authored by Simon Glass
1 parent fd37dac9eb

Make 'run' use run_command_list() instead of run_command()

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1550,7 +1550,7 @@
1550 1550 return 1;
1551 1551 }
1552 1552  
1553   - if (run_command(arg, flag) != 0)
  1553 + if (run_command_list(arg, -1, flag) != 0)
1554 1554 return 1;
1555 1555 }
1556 1556 return 0;