Mail Archives: djgpp/1999/03/09/05:18:16
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.
- Raw text -