Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20011126124422.0237bb48@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 26 Nov 2001 12:49:32 -0500 To: Ross Burton , Cygwin Mailing List From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Breakage in Make/Bash In-Reply-To: <1006795646.916.8.camel@lancelot> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:27 PM 11/26/2001, Ross Burton wrote: >Hi, > >We've just updated to the latest cygwin release and suddenly our build >system broke... > >In a rxvt running bash this happens: > >$ set | grep HOSTTYPE >HOSTTYPE=i686 >$ printenv | grep HOSTTYPE >$ > >Why is $HOSTTYPE defined in the output of 'set' but not 'printev', >whereas it used to be (on a cygwin machine which was last updated a few >weeks ago). This is probably related to the other issue - in a makefile >this: >------- >test: > echo xx${HOSTTYPE}xx >------- > >Produces the output "xxxx". > >Is the current bash broken, or is this a weird new "feature"? A quick search of the mail archives provides an explanation by Chet Ramey, the Bash maintainer (not just the Cygwin Bash maintainer). You can also find the announcement of the availability of 2.05a by Chet with the exact list of environment variables affected. There was also much talk about a number of these variables, the problems the loss of exporting by Bash caused, and possible solutions. You'll want to take a peek at the mail archives for all this information. There is a planned FAQ for this too. >PS: where is ed? Waiting for a maintainer I guess. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/