bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #56449] job.c (construct_command_argv_internal): Must use shell if


From: Christian Eggers
Subject: [bug #56449] job.c (construct_command_argv_internal): Must use shell if '%' character is present in recipe line
Date: Fri, 30 Aug 2019 15:11:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #12, bug #56449 (project make):

[comment #10 comment #10:]
> GNU Make emulates the behavior of the shell as if the user typed the
commands at the shell's prompt.  It is true that you need to double the %
characters in batch files, but GNU Make doesn't behave like batch files do.
> 
> So I think this change is for the worse, and should be reverted.

Ack. If I remember correctly, the double % were caused by cmake (unfortunately
I cannot verify this in short term). Maybe cmake expects that for MingW
Makefiles it needs to convert a single % into a double one. If this is wrong,
this behavior should changed in cmake.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56449>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]