It is common by editting .login .profiles to set session environment variables. Now I want to do it by executing a shell file after startup.
setenv.sh
------------------
#!/bin/tcsh
setenv LANG ja_JP.utf8
setenv LC_ALL ja_JP.utf8
------------------
I try
chmod a+x setenv.sh
./setenv.sh
the script run, but checking session environment, variables LANG, LC_ALL not changed.
if it is
source setenv.sh
the script run and got the changed environment variables.
I don't know the reason, but I really need the first run style in my ant project.
Anyone could help it? Thanks very much
Alvin