Make runs scripts using /bin/sh (or the shell you specify by setting
SHELL=xxx in your makefile).  On Ubuntu, /bin/sh is dash.

Dash is (intended to be) as trim and fast as possible, while still 100%
POSIX-compatible.  The "echo" command is defined by POSIX, and that
definition doesn't specify a -e option or how such an option should
behave.  If you use "echo -e" in your makefile it is not compliant with
POSIX.  So, the fact that dash provides a built-in echo (which most
shells do) that strictly conforms to the POSIX definition of echo is not
a bug in dash (IMO).

If you want to do any formatting more complex than using "echo -n" to
suppress newlines, you should switch to use the printf command instead
of echo.

-- 
Make's “echo” behaviour changes after upgrade to Edgy
https://bugs.launchpad.net/bugs/70962
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to