Script export problem in FC3

Samuel Díaz García samueldg at arcoscom.com
Tue Dec 21 22:43:27 UTC 2004


I need to modify the PATH environment using a script. My script is:

--begin--
#!bin/sh
export PATH=$PATH:/mydir
--end--

If I run the export command in command line I have no problem, but when 
I run my script, and I run

echo $PATH

I can see that the path environtment variable isn't changed.

What can be the problem?
I'm root user when I run the script.

Thanks

-- 
    Samuel Díaz García
     Director Gerente
ArcosCom Wireless, S.L.L.

mailto:samueldg at arcoscom.com
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn/fax: 956 70 13 15




More information about the fedora-list mailing list