[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make ./ChangeLog ./main.c ./make.h ./variable.c...
From: |
Paul D . Smith |
Subject: |
make ./ChangeLog ./main.c ./make.h ./variable.c... |
Date: |
Sun, 28 Nov 2004 18:17:30 -0500 |
CVSROOT: /cvsroot/make
Module name: make
Branch:
Changes by: Paul D. Smith <address@hidden> 04/11/28 23:11:23
Modified files:
. : ChangeLog main.c make.h variable.c
doc : make.texi
tests : ChangeLog
tests/scripts/variables: MAKELEVEL
Added files:
tests/scripts/variables: SHELL
Log message:
Fix for bug #1276: Handle SHELL according to POSIX requirements.
POSIX requires that the value of SHELL in the makefile NOT be exported
to sub-commands. Instead, the value in the environment when make was
invoked should be passed to the environment of sub-commands. Note that
make still uses SHELL to _run_ sub-commands; it just doesn't change the
value of the SHELL variable in the environment of sub-commands.
As an extension to POSIX, if the makefile explicitly exports SHELL then
GNU make _will_ use it in the environment of sub-commands.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/ChangeLog.diff?tr1=2.245&tr2=2.246&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/main.c.diff?tr1=1.190&tr2=1.191&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/make.h.diff?tr1=1.108&tr2=1.109&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/variable.c.diff?tr1=1.75&tr2=1.76&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/doc/make.texi.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/tests/ChangeLog.diff?tr1=1.63&tr2=1.64&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/tests/scripts/variables/SHELL?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/make/make/tests/scripts/variables/MAKELEVEL.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make ./ChangeLog ./main.c ./make.h ./variable.c...,
Paul D . Smith <=