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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <393501F7.F00D8B0C@vinschen.de> Date: Wed, 31 May 2000 14:13:43 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: jorg DOT schaible AT db DOT com CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: $OSTYPE - Aaaaaaaaaaaaaaargh ! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit jorg DOT schaible AT db DOT com wrote: > > Hello, > > with the lastest version of the bash the content of $OSTYPE has changed from "cygwin" to "cygwin32" again without further notice. Since I used this entry to detect the old B20.1 from the new Cygnus V1.1 I have now a lot of broken scripts and makefiles that have to run on both versions. This drives me really crazy! > > So is there any *reliable* method to detect the version of Cygwin from a script ? uname -r Corinna -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com