This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH for 3.3: Replace PWD with PWD_COMMAND


On Thu, Jul 03, 2003 at 02:36:37PM -0400, Phil Edwards wrote:
> > > I don't think there's any reason why we couldn't change this to read
> > > 
> > > PWDCMD = $${PWDCMD-pwd}
> 
> The comment immediately above the variable assignment explains why.
> 
> But this definitely needs to be changed.  Bootstrapping 3.3 on Solaris
> yesterday (actually, most of this week) ran into problems because
> constructions like
> 
>     cd `${PWD}`/foo
> 
> would try to execute "/path/to/builddir" as the backquoted command.
> 

I am testing this patch on gcc-3_3-rhl-branch.


H.J.

Attachment: gcc-3.3-PWD.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]