Meir Kriheli wrote:
> Maxim Veksler wrote:
>> Hi list,
>>
>> I would like to make changes to my environment variables, using
>> automation (script) that is called conditionally (that is after
>> bashrc was sourced).
>>
>> Do I have some method of doing this in bash?
>> The following obvious method sadly doesn't work:
>>
>> [EMAIL PROTECTED] builder]$ cat setenv.sh
>> export TTOTHER=123
>> [EMAIL PROTECTED] builder]$ ./setenv.sh
>> [EMAIL PROTECTED] builder]$ echo $TTOTHER
>>
>>
> 
>  setenv.sh
> 
> or
> 
> source setenv.sh
> 
> --
> Meir


Sorry for replying to my own post, but looks like the list manager
removed the "dot" at the beginning of the 1st method (something to do
with list commands maybe ?). It appears in my "sent" folder.

It should be: ". setenv.sh"

Testing:

 setenv.sh

Cheers
--
Meir

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to