> From: "Gerd Igelmann" <[EMAIL PROTECTED]>
> 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.



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to