bugmake - Bugs: bug #828, $(shell ...) environment

 
 

bug #828: $(shell ...) environment

Submitted by:  None
Submitted on:  Mon 08 Jul 2002 04:13:33 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Works for mePrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.79.1Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 08 Jul 2002 04:28:51 PM UTC, comment #2:

To be clear, when make invokes a command (either through $(shell ...) or as part of a rule) it will export values for (a) all the variables that were in the environment when make was invoked, and (b) all the variables which have been marked as exported by using the "export" keyword in the makefile. See the GNU make manual for more info on this.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 08 Jul 2002 04:24:26 PM UTC, comment #1:

Never mind. Variables are not being exported at all.

Sorry for the noise,
Marcus

Anonymous
Mon 08 Jul 2002 04:13:33 PM UTC, original submission:

Make automatically exports variables defined in the Makefile
into the environment of rule commands. However, it does not
export variables into the environment of the $(shell ...)
function. Bug or feature?

Best regards,
Marcus

Anonymous

 

(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

 

CC list is empty

 

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

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 08 Jul 2002 04:28:51 PM UTCpsmithStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
  Closed on-=>-

Back to the top


Powered by Savane 3.1-cleanup1