  | | | Unable to set env vars. | Unable to set env vars. 2003-03-17 - By Joel Massey
Back Got it... I have used csh in unix for so long I assume(bad word, assume) all flavors act the same. I suppose this will have to be a bug report, but I found out that .bash_profile will not set a var named CLASSPATH although I can set it from a terminal command line. If I run .bash_profile from the command line, it sets any other variable I try to set but gives me "./.bash_profile: CLASSPATH: command not found" on that var.
-- ---- -- "Taylor, ForrestX" <forrestx.taylor@(protected)> writes:
Joel Massey wrote: > AHA... I was using the 'set' command ie: set DUMMY="Sam".... Thanks
set is for csh and tcsh, e.g., `set DUMMY Sam`. Use export for bash as Aaron pointed out.
Forrest --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Seawolf-list mailing list Seawolf-list@(protected) https://listman.redhat.com/mailman/listinfo/seawolf-list
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ Sign Up for Juno Platinum Internet Access Today Only $9.95 per month! Visit www.juno.com
|
|
 |