bug-make
[Top][All Lists]
Advanced

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

[bug #56446] Make shouldn't be running eval when expanding variables for


From: Aleksey Victor Trevelin Covacevi
Subject: [bug #56446] Make shouldn't be running eval when expanding variables for export
Date: Tue, 22 Dec 2020 13:20:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #2, bug #56446 (project make):

I agree with Robert, this looks like a documentation issue. The behavior
actually looks consistent to me.

A simple way to avoid exporting certain variables/functions automatically
(besides unexport) is to prefix them with an invalid character for a shell
variable:

define !FUNCTION
target: $1
endef

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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