On 9/3/05, S. Anthony Sequeira <[EMAIL PROTECTED]> wrote:
> This is NOT a problem, unless one of the functions sets a variable, or cd's to
> a directory (typically in the configure_commands function, the way I use it
> at least), and the variable needs to be accessible later, or later commands
> need to be executed in the new directory.
> 
> I'm attempting to find a similar construct which will execute in the current
> shell (no pipe to tee).

You could just use re-direction to achieve the result that you need,
though the side effect is that you won't see any output on the
console.

Personally, I have two functions compilePkg and installPkg, each of
them independent of each other. If I need a var that needs to be
shared between the two, I set it globally.

-- 
Tushar Teredesai
   mailto:[EMAIL PROTECTED]
   http://www.linuxfromscratch.org/~tushar/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to