Script export problem in FC3
Samuel Díaz García
samueldg at arcoscom.com
Tue Dec 21 23:24:29 UTC 2004
No, the leading slash were there, only I mistake at writing the message,
sorry.
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
Alexander Dalloz escribió:
> Am Di, den 21.12.2004 schrieb Samuel Díaz García um 23:43:
>
>
>>I need to modify the PATH environment using a script. My script is:
>>
>>--begin--
>>#!bin/sh
>
>
> #!/bin/sh
>
> The leading slash is missing.
>
>
>>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.
>
>
> Why root?
>
>
>> Samuel Díaz García
>
>
> Alexander
>
>
>
More information about the fedora-list
mailing list