bug-make
[Top][All Lists]
Advanced

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

[bug #35323] When the environment is modified with export or undefine, $


From: Brian Vandenberg
Subject: [bug #35323] When the environment is modified with export or undefine, $(shell ...) still inherits the original environment
Date: Tue, 17 Jan 2012 21:00:05 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2

URL:
  <http://savannah.gnu.org/bugs/?35323>

                 Summary: When the environment is modified with export or
undefine, $(shell ...) still inherits the original environment
                 Project: make
            Submitted by: phantal
            Submitted on: Tue 17 Jan 2012 09:00:02 PM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Example:


undefine LD_LIBRARY_PATH
$(warning $(shell echo "From $$(shell ...): $$LD_LIBRARY_PATH"))

all:
  @echo "From $@: $$LD_LIBRARY_PATH"



The $(warning ) will print the original LD_LIBRARY_PATH.

As you might expect, variations on this theme are no different; all of the
following have identical results:

export undefine LD_LIBRARY_PATH

undefine LD_LIBRARY_PATH
export LD_LIBRARY_PATH

undefine LD_LIBRARY_PATH
export LD_LIBRARY_PATH:=




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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