summaryrefslogtreecommitdiffstats
path: root/Makefile.maint
diff options
context:
space:
mode:
authorAmaan Cheval <amaan.cheval@gmail.com>2018-03-09 21:08:31 +0530
committerJoel Sherrill <joel@rtems.org>2018-03-09 13:16:01 -0600
commit4dfeba3a0e53d4b697b07f9c10783c411e43ccdf (patch)
tree47fd01badb8648ea78ce17f4fc1a656d894296c3 /Makefile.maint
parentnetwork: Optionally install network headers (diff)
downloadrtems-4dfeba3a0e53d4b697b07f9c10783c411e43ccdf.tar.bz2
bootstrap: Use printf instead of echo -e for POSIX shells
On POSIX compliant shells, echo does not have the -e option. This causes the "-e" to be echoed as well, causing potential buggy build processes. Example shell session: -> % sh $ echo -e "foo bar" -e foo bar $ According to POSIX, "\$" should be fine regardless due to the use of double-quotes[1]. However, since printf is recommended over echo anyway, we replace "echo -e" with printf where required. [1] http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_02_03
Diffstat (limited to 'Makefile.maint')
0 files changed, 0 insertions, 0 deletions