[U-Boot] [PATCH] cmd_source: introduce run_script()

Michael Walle michael at walle.cc
Thu Jan 12 23:54:43 CET 2012


Am Donnerstag 12 Januar 2012, 22:51:48 schrieb Michael 
Walle:
> Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike 
Frysinger:
> > although i wonder if it'd be possible to merge this 
into existing
> > run_commands2() ... do we allow newlines now in 
variables that get run ?
> 
> mh if the hush parser is enabled this seems to be true. 
eg. source() and
> run_commands2() use the same parse_string_outer().

Actually parse_string_outer() terminates on '\n'. So i 
think the current version of source() is broken.


-- 
Michael


More information about the U-Boot mailing list