bug-make
[Top][All Lists]
Advanced

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

Re: GNU Make 3.79.1 Bug-Report?


From: Eli Zaretskii
Subject: Re: GNU Make 3.79.1 Bug-Report?
Date: 21 Jan 2004 07:45:13 +0200

> From: "Gerd Igelmann" <address@hidden>
> Date: Tue, 20 Jan 2004 20:14:27 +0100
> 
> all:
>       cd test
>       dir > content.txt
>       cd ..
> 
> Make 3.76.1 does the change of directory as expected, make 3.79.1 does not

As Paul points out, this is most probably a shell issue, not a Make
issue.  So the first thing to check is what shell is invoked by each
version of Make to run these commands.  If, by any chance, Make 3.79.1
invokes a ported Bash, then you will indeed see this behavior, since
Bash restores the original working directory when it exits, to play
the Unix compatibility game.





reply via email to

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