diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-12-30 17:31:42 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-21 21:53:12 +0100 |
commit | 221ef3a3ee7bad3955040b6a91eed012277307fb (patch) | |
tree | 9ec61eeca695705437fcee73b26ec4deb2ab50c8 /package/lua/5.1.5/lua-01-root-path.patch | |
parent | 1f6934238a9374fce2acb22bfbf758a60a4f3a2f (diff) | |
download | buildroot-221ef3a3ee7bad3955040b6a91eed012277307fb.tar.gz buildroot-221ef3a3ee7bad3955040b6a91eed012277307fb.zip |
Prefer 'printf' over 'echo -e' (for portability)
support/dependencies/dependencies.sh uses #!/bin/sh shebang. It is not
guaranteed that /bin/sh provides an 'echo' implementation that
understands the '-e' flag (interpret backslash escape chars). For
example, dash doesn't.
'printf' is more portable (it must interpret backslash escape chars,
according to POSIX), so use that.
NOTE: Before the previous commit, the dependencies.sh script used
/bin/echo instead of the shell built-in. That's probably why this hasn't
come up before.
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua/5.1.5/lua-01-root-path.patch')
0 files changed, 0 insertions, 0 deletions