bug-make
[Top][All Lists]
Advanced

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

[bug #46585] variables being auto-exported to the environment if it was


From: Brian Vandenberg
Subject: [bug #46585] variables being auto-exported to the environment if it was set in the environment
Date: Wed, 02 Dec 2015 02:13:01 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #46585 (project make):

This may not actually be a bug:

http://www.gnu.org/software/make/manual/html_node/Variables_002fRecursion.html#Variables_002fRecursion

Quoting:

Except by explicit request, make exports a variable only if it is either
*defined in the environment initially* or *set on the command line*, and if
its name consists only of letters, numbers, and underscores. Some shells
cannot cope with environment variable names consisting of characters other
than letters, numbers, and underscores. (emphasis mine)

This seems surprising to me, but that's what the docs say.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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