Date: Tue, 9 Mar 1999 12:16:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com cc: DJ Delorie Subject: Re: DJGPP Make v3.77 recursion bug test case In-Reply-To: <199903090127.UAA19903@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 8 Mar 1999, DJ Delorie wrote: > GNU make has a special case internally to revert the current directory > upon exit when you use the -C option. Actually, the DJGPP port of GNU Make arranges to return to the original directory even if you don't use -C. But in this case, the original directory where Make was invoked is the one *after* the chdir command, so it ``returns'' to the same place. What Dan seemed to expect was that Make would restore the original directory *after each command* it runs. This is not done on purpose (as I explain in my other message), but if you force Make to invoke Bash where a shell functionality is required, Bash will do that for you.