[OE-core] In dash there is no "echo -e"

Andrei Gherzan andrei at gherzan.ro
Thu Sep 6 10:07:45 UTC 2012


Hello,

oe-core / yocto removed the prerequisite to have sh pointing to bash. This
means that echo -e in dash will actually print "-e" and interpret
backslashes by default.

http://www.mail-archive.com/yocto@yoctoproject.org/msg06000.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550399



Now, in oe-core / yocto there are a couple of occurrences of "echo -e".
Generally these are scripts with bash shebangs - so no problem here. But
there are 4 classes which use this:

buildhistory.bbclass
package_rpm.bbclass
package_deb.bbclass
package_ipk.bbclass


My solution would be to replace echo with print in these cases.

ag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120906/bacc21c7/attachment-0002.html>


More information about the Openembedded-core mailing list