bugmake - Bugs: bug #35323, When the environment is modified...

 
 

bug #35323: When the environment is modified with export or undefine, $(shell ...) still inherits the original environment

Submitted by:  Brian Vandenberg <phantal>
Submitted on:  Tue 17 Jan 2012 09:00:02 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.82Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 17 Jan 2012 09:00:02 PM UTC, original submission:

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:=

Brian Vandenberg <phantal>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phantal (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup