On Thu, 2012-09-20 at 12:56 +0300, Andrei Gherzan wrote: > oe-core removed the prerequisite to have sh as bash. POSIX doesn't define > any options and furthermore allows 'echo -e' to be the default behavior. > This means that in dash 'echo -e' will actually print '-e' and interpret > backslashes by default. We use instead 'printf' builtin command with or > without '\n' to simulate 'echo -e' or 'echo -n'. > 'printf' needs format while 'echo' can be used without any arguments. So > 'echo >' was replaced by 'printf "" >'. > 'echo' without '-n' flag adds a new line by default so to keep the same > behavior of two new lines while using 'echo "\n"', 'printf "\n\n"' is > used. > > [YOCTO #3138] > > Signed-off-by: Andrei Gherzan <[email protected]>
Merged to master, thanks. Richard _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
