- To: chesty <chesty@xxxxxxxxxx>
- Subject: Re: [SLUG] Environment Variables
- From: Crossfire <xfire@xxxxxxxx>
- Date: Wed Feb 21 15:50:02 2001
- Cc: slug@xxxxxxxxxxx
- User-agent: Mutt/1.2.5i
chesty was once rumoured to have said:
> On Wed, Feb 21, 2001 at 02:07:16PM +1100, Crossfire wrote:
> > yes, you set it in the environment one level up.
> >
> > Of course, this may not be practical in most cases.
> >
> > In which case you add it to your .bashrc/.profile/.login/.whatever so
> > it gets set when you log in.
>
> Is that the full answer?
>
> Don't you need to export it as well?
>
> TOMCAT_HOME=/dev/bush
> JAVA_HOME=/dev/mug
>
> export TOMCAT_HOME JAVA_HOME
Thats sh/bash specific. and unless you export it, it doesn't actually
become part of the environment anyway, so what I said still holds
true.
--
--==============================================--
Crossfire | This email was brought to you
xfire@xxxxxxxx | on 100% Recycled Electrons
--==============================================--