delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/09/05:18:16

Date: Tue, 9 Mar 1999 12:16:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
cc: DJ Delorie <dj AT delorie DOT com>
Subject: Re: DJGPP Make v3.77 recursion bug test case
In-Reply-To: <199903090127.UAA19903@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.990309121608.7248W-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019