> 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.

Reply via email to