In dash there is no "echo -e"

From: Andrei Gherzan <hidden>
Date: 2012-09-06 10:20:30

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help