delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/22/07:21:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=tz
fHsWMNWGblGVPq5a61qE1lX+7NwwxVJIj7UkQvOcOnZVvj3pRsHAMg9pHCI5vQR+
A/nthqHyRHLHQelb10ZRdNSAOe1l1JyiqZDT/d9ZvrJGM2JjydP6umdg+J8CVstt
nToE+zn8E3z1M9joy27AAeiP7zG19la2ub5q+HnhI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=d49r3K5I
7pEUrpaBavf1UvZv5Lk=; b=RdWxjrEB1rHMxJZmuLRgmjWQ2Bi19fL908VB743u
QAJtmFA8YRDFF9FCrN4bebn+IRs3GHBVDh+WQWfq59LSUrJymVYe7CmlKdg5RSbM
vNwCcDLxWX/4dvu4221CjlIPDpCJrCl+AG/YAY4OLh4A5gTh6+z+hDJ/G4Krsxa9
LhY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.49.109.196 with SMTP id hu4mr22223509qeb.8.1366629678202; Mon, 22 Apr 2013 04:21:18 -0700 (PDT)
In-Reply-To: <1173665981.65704.1366498333076.JavaMail.gess@webmail-05.datacenter.cha.cantv.net>
References: <1173665981 DOT 65704 DOT 1366498333076 DOT JavaMail DOT gess AT webmail-05 DOT datacenter DOT cha DOT cantv DOT net>
Date: Mon, 22 Apr 2013 07:21:18 -0400
Message-ID: <CA+sc5mnfFkdoN-=PEFA+CNxUEFdf27fh=RwDof59BiDW30WKOQ@mail.gmail.com>
Subject: Re: BASH and MAN failure
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019