On Tue, 2009-03-31 at 23:59 -0500, Hamed Janzadeh wrote: > Last night I found a very cruel bug in GNU make that led to a costly > experience for me. Hence, I decided to report it and to help others > not to repeat my experiment. > > In a Makefile, and in assignment operations, the space character after > the value is included to the value by `make'. Therefore, if I have an > assignment like this:
This is not a bug; it's documented behavior which is required by the POSIX standard for make. In fact there was just a thread about this on the help mailing list over the weekend. PS. ObCaution: In general, it's not a good idea to run make as root. Especially when you're not sure the makefile is correct. -- ------------------------------------------------------------------------------- Paul D. Smith <psm...@gnu.org> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.us "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make