[Top][All Lists]

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

[bug #55719] Variables containing hyphens are not exported

From: Paul D. Smith
Subject: [bug #55719] Variables containing hyphens are not exported
Date: Mon, 13 May 2019 17:53:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Update of bug #55719 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

The variable "foo-bar" is exported by make to the recipe that it invokes, in
all situations.

However, in the situation where a shell is invoked, the shell disallows
variables which don't meet its naming criteria.

There's nothing make can do about that.  The only way to make this consistent
would be to change export so that it won't export any variable that doesn't
meet the shell's naming criteria.  Maybe we should do that.  However, we
should only do this if the shell we're invoking is a POSIX-ish shell since
makefiles could choose a different interpreter for the shell, which CAN
support environment variables that don't match the shell's requirements.


Reply to this item at:


  Message sent via Savannah

reply via email to

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