X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Sun, 16 Dec 2001 20:09:57 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <1858-Sun16Dec2001200955+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: snowball3 AT bigfoot DOT com, djgpp-workers AT delorie DOT com, acottrel AT ihug DOT com DOT au In-reply-to: <10112161551.AA26332@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: The Bash 2.05 fixinc.sh bug References: <10112161551 DOT AA26332 AT clio DOT rice DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Sun, 16 Dec 2001 09:51:23 -0600 (CST) > > > > > > SHELL = /bin/sh > > > all: > > > MAKE="$(MAKE)" > > > > This probably means that the file it compains about is the temporary file > > created in $TMPDIR, which is then submitted to Bash for execution. What > > is the exact error message printed when this Makefile is run? > > This should just be a symbol substitution, ie make=make. That's true, but how do you expect Make to know about that? It doesn't; all it sees is a command line with some shell magic (the `=' character), so it invokes Bash. Shell invocation goes through `system', which, in the case of Unixy shells, does that via temporary files. That's why I guessed that the problem is with the temporary file: after all, that's the only file that seems to be involved. Of course, this is all pure theory; I didn't have a chance to step with a debugger into Make or the library and see if I remember this stuff correctly.