GNOME Bugzilla – Bug 654085
Don't needlessly use "echo -e" when creating .def files
Last modified: 2011-07-11 00:48:08 UTC
Created attachment 191398 [details] [review] A patch fixing the issue Echo is used for generating a header for .def files, when building for windows. Currently, this uses "echo -e EXPORTS", when run on a strict POSIX sh, it adds "-e EXPORTS" to the beginning of the file. The -e option (in bash) enables interpreting escaped characters, but no escaped characters have to be interpreted in this case when simply echoing "EXPORTS". The attached patch changes "echo -e" into "echo" for these cases, fixing building glib with a mingw cross compiler on Mac OS X.
The following fix has been pushed: 7c517bf Don't needlessly use "echo -e"
Created attachment 191660 [details] [review] Don't needlessly use "echo -e" The -e parameter to echo isn't recognized by echo in POSIX sh, but isn't needed when no escaped characters need to be interpreted. This fixes building glib with a mingw cross compiler on Mac OS X.