This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: BASH and MAN failure
- From: Earnie Boyd <earnie at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 22 Apr 2013 07:21:18 -0400
- Subject: Re: BASH and MAN failure
- References: <1173665981 dot 65704 dot 1366498333076 dot JavaMail dot gess at webmail-05 dot datacenter dot cha dot cantv dot net>
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