diff options
author | Fedor Ross <fedor.ross@ifm.com> | 2020-11-18 18:13:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:38 +0000 |
commit | c747acca33f84879a1ebd0ef972c07f4d5dff8b7 (patch) | |
tree | f33dfa73d2dcc93d4ee27fb459971922e57e2a99 /meta/recipes-devtools | |
parent | b7f0ec6eafb35117eaf4eeef281162080f0ca79a (diff) | |
download | openembedded-core-contrib-c747acca33f84879a1ebd0ef972c07f4d5dff8b7.tar.gz |
eudev: remove bashism to be compatible with dash
Remove 'echo -e' and replace it with 'printf'. In bash the builtin
'echo' has an option for interpreting backslash escapes. In a shell like
dash the builtin 'echo' interprets backslash escapes by default.
Therefor the 'echo' in dash doesn't have the '-e' option. When using
'printf' instead it is safe to use it either with bash or dash.
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions