Re: Bug: make fails to execute .BAT files with space in the path, with SHELL=cmd.exe
Erik Carstensen <[email protected]> Thu, 2 May 2013 14:16:19 +0200
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <CALeBojSibR=1LNLufOsfNxA-f5=HUpkz2fUdQ8B4OpcKNUboOg@mail.gmail.com> |
On Wed, May 1, 2013 at 5:39 PM, Eli Zaretskii <[email protected]> wrote: I fixed that in the repository; the patch is below if you want to try > it. > So I assume then that make is expected to use the same quoting rules as CMD when short-circuiting the shell. Then there is another bug: make's arg quoting has some special treatment for single quotes, whereas cmd.exe itself hasn't. So, in SHELL=cmd.exe default: 'a b\x.bat' 'a b\x.bat' >NUL The first invocation of x.bat works, while the second one won't (''a' is not recognized as...) This is not a problem for my use case, but it did add to my confusion when doing experiments. _______________________________________________ Make-w32 mailing list [email protected] https://lists.gnu.org/mailman/listinfo/make-w32