sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #63823
Re: Problem med bash og miljoevariabel
On Tue, May 27, 2003 at 02:24:47PM +0200, Kenneth Ahn Jensen wrote:
> [kaj@localhost kaj]$ grep CLASSPATH .bash_profile
> export CLASSPATH=$CLASSPATH:$HOME/cls
> export CP=$CLASSPATH
> [kaj@localhost kaj]$
> Hvis jeg explicit beder om en loginshell f.eks. med "bash -l" saa virker det
> fino, men jeg fatter ikke hvorfor ovenstaaende sker.
Prøv at tilføje se om ikke din CLASSPATH bliver redefineret i din
~/.bashrc.
Normalt har jeg en næsten tom .bash_profile som kun source min .bashrc,
så er der kun et sted at lave ændringer.
<SNIP .bash_profile>
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
</SNIP>
--
Best Regards
Emil S. Hansen - esh@xxxxxxxxxxx - ESH14-DK
UNIX Administrator, Berlingske IT - www.bit.dk
PGP: 109375FA/ABEB 1EFA A764 529E 82B5 0943 AD3B 1FC2 1093 75FA
"Gravity can not be held responsible for people falling in love."
- Albert Einstein
Attachment:
pgpPADy6nFGrE.pgp
Description: PGP signature
Follow ups
References