Re: Why SHELL defaults to sh.exe
Eli Zaretskii <[email protected]> Thu, 23 Jan 2020 19:59:09 +0200
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
> From: "Christian Jullien" <[email protected]> > Cc: <[email protected]> > Date: Thu, 23 Jan 2020 15:54:50 +0100 > > cmd>type Makefile > all: > @echo $(SHELL) > cmd>.\gnumake > sh.exe <=== Argl!! Why is that a problem? If you do .\gnumake -f- all: dir *c ^Z does it not invoke cmd.exe's DIR command? It does here. All you've shown is the value of $(SHELL) set by Make internally, that's all. It doesn't mean this will be the shell that will be invoked to execute shell commands.