Hi, everyone. I run into a problem today. I have a very simple makefile:
-------------
all:
@echo -e "line1\n"
-------------
On openSUSE 11.1, it outputs
line1
But on Ubuntu 9.10, it outputs
-e line1
NOTE the preceeding -e !
If I execute echo -e "line1"; directly on Bash command line of both
Linux, they both outputs "line1" only. In this case, I know /bin/echo is
actually executed.
The difference between the two Linux I can speculate is the Bash
version: SUSE has bash 3.2.39, while Ubuntu has 4.0.33 . And GNU make
3.81 try to use bash'es internal echo command in the above makefile sample.
So, I'd like to always use external echo in my makefile, but don't let
me change every occurrence of "echo" to "/bin/echo". Can somebody help?
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make