On Sat, Apr 20, 2013 at 6:52 PM, rodmedina wrote:
> I one runs tzset.sh directly the message is not writen, but still TZ is not
> set.
>
> $ /etc/profile.d/tzset.sh
>
> $ set
> ...
> SYSTEMROOT='C:\WINDOWS'
> TEMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp
> TERM=xterm-256color
> TMP=/cygdrive/c/DOCUME~1/rmedina/CONFIG~1/Temp
> UID=1003

This is expected behavior.  You need to source tzset.sh into your
environment instead of executing tzset.sh in a child environment.  The
parent process will not take on the environment of the child.

$ . /etc/profile.d/tzset.sh

Notice the . and space.

Alternatively you could

$ source /etc/profile.d/tzset.sh

Also

$ help source

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to