[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exported shell variables and scope



On Wed, Jul 25, 2001 at 02:22:25PM -0400, Dale Scheetz <dwarf@polaris.net> was heard to say:
> That dawned on me shortly after sending my original posting ;-)
> 
> This works fine if I do everything interactively from the prompt, but in a
> makefile, if I do:
> 
> . ./setup.sh
> (cd build ; ./mk-pgm)

  Each line in a makefile is run as a separate subshell.

  Daniel

-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|                  Wisdom is one of the few things                            |
|                  that looks bigger the farther away it is.                  |
|                    -- Terry Pratchett                                       |
\---------------------- A duck! -- http://www.python.org ---------------------/



Reply to: