Script export problem in FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn/fax: 956 70 13 15


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux