Follow-up Comment #8, bug #30714 (project make): "Now imagine that somebody writes a recipe, thinking that it would be parsed by shell (as documentation suggests). He creates for example a script named foo.bat which is being called by the recipe. What he does not know is that someone else created foo.bat in make's directory and this will be the script which will be called by CreateProcess. It's a very hard bug to track down for a Makefile developer, undocumented and non-intuitive. And this is not how the shell would behave."
But this is normal behavior on Windows. "The second thing I've seen today is that even when a command is recognized as a built-in, it still will not honor $(SHELL) variable. This is because a batch file is created with the recipe line and this batch file is called directly, without using $(SHELL), so this will be loaded and evaluated by the system, with the default shell. This is wrong again." Why is this wrong? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30714> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make