bug-make
[Top][All Lists]
Advanced

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

[bug #44853] gmake: execvp: bash: The parameter or environment lists are


From: Daniel Richard G.
Subject: [bug #44853] gmake: execvp: bash: The parameter or environment lists are too long.
Date: Tue, 26 May 2015 04:45:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

Follow-up Comment #6, bug #44853 (project make):

Well, it would be possible to transform

    $(SHELL) -c "very long command"

into

    [write "very long command" to /tmp/long.sh]
    $(SHELL) -c ". /tmp/long.sh"

so mucking around with .SHELLFLAGS is unnecessary.

The syntax for sourcing a script may vary (e.g. csh would use "source" rather
than "."), but a new variable could be provided to control that, like

    .SHELLSOURCE = . $(.SHELLSCRIPT)
    .SHELLSOURCE = source $(.SHELLSCRIPT)

Would this address your concerns?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44853>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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