Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!iuvax.cs.indiana.edu!sabbagh!treece
From: sabbagh!treece@iuvax.cs.indiana.edu (Jeff Treece)
Newsgroups: gnu.utils.bug
Subject: make-3.56 question
Message-ID: <8909282128.AA09965@life.ai.mit.edu>
Date: 28 Sep 89 20:22:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30

Maybe this is a bug, or else I don't understand how environment variables
are passed to make-3.56.  In 3.55, I could use the following command, where
/bin is in my PATH (the actual command executed, in this case "true," does
not matter):

% make-3.55 GET=true balazs.c
true  SCCS/s.balazs.c
%

No problem.  However, in make-3.56, the above does not work:

% make-3.56 GET=true balazs.c
true  SCCS/s.balazs.c
true: true: cannot open
make: *** [plot2ps.c] Error 1
%

So I tried "make-3.56 GET=/bin/true balazs.c" and it worked fine.  I also
tried "make-3.56 -e GET=true balazs.c" and it worked fine, though it took
noticeably longer.  I tried "make-3.56 PATH=/bin GET=true balazs.c" and
got the same error as above.

Can someone explain this behavior?  Is it a bug?  How should I be setting
the path for make to use?

Thank you,
Jeff Treece
Sabbagh Associates
treece@sabbagh.com   ...iuvax.cs.indiana.edu!sabbagh!treece
(812) 339-8273