delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/31/08:15:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
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: <OFEA7BC5D3 DOT CC6DE44A-ON002568F0 DOT 004153E5 AT srv DOT uk DOT deuba DOT com>

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

- Raw text -


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