> In <[EMAIL PROTECTED]>, Marcel Moolenaar wrote:
> > Sheldon Hearn wrote:
> > >
> > > On Tue, 14 Dec 1999 15:42:11 +0100, Marcel Moolenaar wrote:
> > >
> > > > > You set all those variables for the first make command, but not for the
> > > > > second. What did you expect to happen?
> > > >
> > > > That make(1) would execute.
> > >
> > > But what was the PATH set to _before_ you set it for the first execution
> > > of make? That's what's important, surely?
> >
> > It is. Try this:
> >
> > scones% sh
> > % echo $PATH
> > /sbin:/bin:/usr/sbin:/usr/bin:....
> > % hash -v
> > builtin hash
> > builtin echo
> > % which ls
> > /bin/ls
> > % hash -v
> > builtin hash
> > builtin echo
> > /usr/bin/which
> > % PATH=/foo:/bar:/bin ls
>
> This line does *not* change $PATH for the next lines.
>
> > <some output>
> > % hash -v
> > builtin hash
> > builtin echo
> > /usr/bin/which
> > /usr/sbin/ls
> > ^^^^^^^^^^^^ Caching index based on temp. path!!!!
> > % ls
> > ls: not found
>
> $PATH is still /sbin:/bin:/usr/sbin:/usr/bin:....
You don't get it, do you? So the path is /sbin:/bin:...
... where is ls, again?
--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message